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

Materializing a Target from a DB2 Image Copy

Materializing a Target from a DB2 Image Copy

Use the following procedure to create a full image copy of a DB2 source table space and use it to materialize a target:
  1. Create the JCL and control cards for creating the full image copy.
  2. Submit the job for the DB2 COPY utility manually or from a job scheduler or a batch job. When the DB2 DSNUTILB program reads the control cards, it invokes the COPY utility to create the full image copy.
  3. Create a target database structure, such as a table.
  4. In the PowerCenter Designer, create a mapping. Include the DB2 table for which you created the image copy as the source and the database object from step 3 as the target.
  5. In the PowerCenter Workflow Manager, create a connection, workflow, and session.
    Create a new application connection, and select
    PWX NRDB Batch
    as the connection type. If you want to enable offload processing, select
    Filter After
    for the
    Offload Processing
    attribute.
    When you configure the session, select
    PowerExchange Reader for DB2 Image Copy
    as the reader, and select the application connection that you just created from the list of connections.
    To specify the image copy, perform one of the following actions:
    • To read the latest image copy, do not enter a data set name in the
      Image Copy Data Set
      attribute for the reader.
    • To read a full image copy other than the latest one, enter the data set name of that image copy in the
      Image Copy Data Set
      attribute for the reader.
    • To read a full image copy file that was created on a different DB2 subsystem, enter the data set name of that image copy in the
      Image Copy Data Set
      attribute for the reader, and select
      Disable consistency checking
      .
    If you select the
    Disable consistency checking
    property and use an image copy that was created on a different DB2 subsystem or with a previous DB2 version, the following additional restrictions apply:
    • The table definition in the catalog of the DB2 subsystem being used to read the image copy must correctly reflect the table definition when the image copy was created.
    • The image copy must contain data for only one table.
    • The image copy must be created on a subsystem at the same DB2 version as the subsystem used to read the image copy.
  6. Start the workflow to move the image copy data to the target table.
    If you plan to use PowerExchange CDC to update the target, you must set up restart tokens based on the event markers from the QUIESCE TABLESPACE step. For information about setting up restart tokens, see
    PowerExchange Interfaces for PowerCenter
    .

0 COMMENTS

We’d like to hear from you!