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

DB2_ERRORFILE Statement

DB2_ERRORFILE Statement

The DB2_ERRORFILE statement specifies the name of the user-customized SQL error file that PowerExchange uses for Db2 bulk data movement operations.
All
Db2
No
DB2_ERRORFILE=
file
For the
file
value, enter the name of the file or member that contains the SQL error codes that you want PowerExchange to treat as either recoverable or fatal.
The type of value depends on the operating system on which Db2 runs:
  • For an IBM i (i5/OS) system, specify the library and file name, and optionally a member name. Enclose the file and member names in double quotation marks (“).
  • For a z/OS system, specify the fully qualified sequential file name or PDS name and member name. Enclose the file or member name in double quotation marks (“).
  • For a Linux, UNIX, and Windows system, specify the path and file name. To specify a Windows network path, use three leading backslashes (\\\) so that PowerExchange can parse the network path correctly.
PowerExchange provides a sample error file or member for each type of Db2 data source, as shown in the following table:
Data Source
Sample Error File
Db2 for z/OS
DB2ERR member in RUNLIB
Db2 for i
DB2ERR member in
datalib
/CFG
Db2 for Linux, UNIX, and Windows
db2err.act in the PowerExchange installation directory