Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Bulk Data Movement
  3. PowerExchange Listener
  4. Adabas Bulk Data Movement
  5. Datacom Bulk Data Movement
  6. DB2 for i5/OS Bulk Data Movement
  7. DB2 for Linux, UNIX, and Windows Bulk Data Movement
  8. DB2 for z/OS Bulk Data Movement
  9. IDMS Bulk Data Movement
  10. IMS Bulk Data Movement
  11. Microsoft SQL Server Bulk Data Movement
  12. Oracle Bulk Data Movement
  13. Sequential File Bulk Data Movement
  14. VSAM Bulk Data Movement
  15. Writing Data with Fault Tolerance
  16. Monitoring and Tuning Options

Bulk Data Movement Guide

Bulk Data Movement Guide

Creating Error Action Files for Customized Error Handling

Creating Error Action Files for Customized Error Handling

You can customize fault tolerance behavior if you require a specific error handling strategy. However, this task is optional because PowerExchange provides a default list of recoverable and fatal error codes for each supported database.
Use the following procedure to customize PowerExchange behavior for certain database error codes.
To create error action files for customized error handling:
  1. Create an error action file that defines all of the database error codes for which you want to customize PowerExchange handling of the error. You can use one of the sample error action files that PowerExchange provides as a template. To specify a fault tolerance option for an error code, use the following syntax:
    error_code
    ,
    option
    Where:
    • error_code
      is a database-specific code, such as a DB2 SQLSTATE code or an Oracle ORA-
      nnnnn
      error code.
    • option
      is either
      R
      for recoverable or
      F
      for fatal.
      For example:
      00017,R 00018,F
  2. Specify the full path and file name of your customized error action file in the DBMOVER configuration file on the target system. Use the statement for your database, for example:
    DB2_ERRORFILE=
    path_filename
    ORA_ERRORFILE=
    path_filename
    MSS_ERRORFILE=
    path_filename
After the error action file is defined, PowerExchange uses the customized error code specifications instead of its default error handling. PowerExchange processes any error codes that you do not specify in the error action file as recoverable errors.

0 COMMENTS

We’d like to hear from you!