The DATERANGE statement specifies the range of years that is used to validate data in DATE and TIMESTAMP fields.
All
No
DATERANGE=({
start_year
|
1800
}
,{
end_year
|
2200
})
{
start_year
|
1800
}
Required. The year that PowerExchange uses as the starting year in the date range for validating DATE and TIMESTAMP fields. Default is 1800.
{
end_year
|
2200
}
Required. The year that PowerExchange uses as the ending year in the date range for validating DATE and TIMESTAMP fields. This value must be equal to or greater than the value specified for the starting year. Default is 2200.
PowerExchange treats data values outside the range specified in the DATERANGE statement as not valid. On the
Data Checking
tab in the PowerExchange Navigator, you can select the action that PowerExchange performs when it detects a value in a date field that is not valid. By default, PowerExchange writes the PWX-02152 and PWX-02153 messages to the PowerExchange message log and stops the data extraction operation.