Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange
  3. DBMOVER Configuration File
  4. Netport Jobs
  5. PowerExchange Message Logs and Destination Overrides
  6. SMF Statistics Logging and Reporting
  7. PowerExchange Security
  8. Secure Sockets Layer Support
  9. PowerExchange Alternative Network Security
  10. PowerExchange Nonrelational SQL
  11. PowerExchange Globalization
  12. Using the PowerExchange ODBC Drivers
  13. PowerExchange Datatypes and Conversion Matrix
  14. Appendix A: DTL__CAPXTIMESTAMP Time Stamps
  15. Appendix B: PowerExchange Glossary

DATERANGE Statement

DATERANGE Statement

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.

0 COMMENTS

We’d like to hear from you!