Table of Contents

Search

  1. Preface
  2. Change Data Capture Introduction
  3. PowerExchange Listener
  4. PowerExchange Condense
  5. DB2 for i5/OS Change Data Capture
  6. Remote Logging of Data
  7. Introduction to Change Data Extraction
  8. Extracting Change Data
  9. Monitoring CDC Sessions
  10. Managing Change Data Extractions
  11. Tuning CDC Sessions
  12. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for i5/OS

CDC Guide for i5/OS

Refreshing the PowerExchange Environment After an i5/OS Upgrade

Refreshing the PowerExchange Environment After an i5/OS Upgrade

If you upgrade the i5/OS operating system on the DB2 system where PowerExchange is installed or on a remote DB2 system from which PowerExchange accesses data, you must run a few commands to refresh the PowerExchange environment for any changes to the system metadata. Run the commands after you complete the i5/OS upgrade and before you re-submit the PowerExchange Listener job or PowerExchange Condense job and resume bulk data movement or CDC processing.
You must run the commands under one of the following types of user profiles:
  • The IBM-supplied user profile of QSECOFR
  • A user profile defined with the USRCLS of *SECOFR and SPCAUT of *USRCLS
  • A user profile defined with at least the following SPCAUT values: *SECADM, *ALLOBJ and *JOBCTL
  1. Issue the following ADDLIBLE command:
    ADDLIBLE LIB(
    dtllib
    ) POSITION(*FIRST)
    The
    dtllib
    variable is the PowerExchange software library.
  2. To refresh the PowerExchange environment, issue one of the following CRTDTLENVF commands with the same parameters that you used for the CRTPWXENV command during the last full PowerExchange installation:
    • If the DB2 for i5/OS source database is on the same i5/OS server as the PowerExchange installation, use:
      CRTDTLENVF DTLLIB(
      dtllib
      ) DATALIB(
      datalib
      ) RMTRDBDIRE(*LOCAL) OSLEVEL(*LOCAL)
    • If the DB2 for i5/OS source database is on a server other than the one where PowerExchange is installed, use:
      CRTDTLENVF DTLLIB(
      dtllib
      ) DATALIB(
      datalib
      ) RMTRDBDIRE(
      database_name
      ) RMTSYSNAME(
      host_name
      ) RMTOSLEVEL(
      os_level
      )
    For descriptions of the parameters, see Chapter 4 in the
    PowerExchange Installation and Upgrade Guide
    .
  3. If you changed the ownership of objects such the
    dtllib
    ,
    datalib
    ,
    condlib
    , and
    cpxlib
    libraries during the last full PowerExchange installation, run the commands for changing object ownership again.
    For more information, see Chapter 4 in the
    PowerExchange Installation and Upgrade Guide
    .

0 COMMENTS

We’d like to hear from you!