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

Using the DB2 LOAD Utility to Load Bulk Data

Using the DB2 LOAD Utility to Load Bulk Data

You can use the DB2 LOAD utility to efficiently load large amounts of data to DB2 tables that PowerExchange or PowerCenter has read from data sources. PowerExchange includes JCL and control card templates for running the DB2 LOAD utility. PowerCenter uses PowerExchange Client for PowerCenter (PWXPC) connections to communicate with PowerExchange to implement the bulk data movement.
Depending on how you configure PWXPC connection attributes, PowerExchange can perform the following functions for the DB2 LOAD utility:
  • Create only a data file to use as input for the DB2 LOAD utility. In this case, you must run the DB2 LOAD utility outside of PowerExchange. You can submit the job manually or use a job scheduler or the PowerExchange DTLREXE utility.
  • Create the following items:
    • a data file to use as input for the LOAD utility
    • load cards to run the LOAD utility
    • JCL to submit the LOAD utility as a separate job
    Then submit the DB2 LOAD utility job and wait for the job to complete. To run the utility as a separate job, set the PWXPC
    Mode Type
    connection attribute to JOB.
    Informatica recommends running the DB2 LOAD utility in a separate job with a connection attribute that specifies a
    Mode Type
    of JOB.
  • Create the data file and load cards. Then execute the DB2 LOAD utility in the PowerExchange Listener address space. To run the utility as a subtask of the PowerExchange Listener, set the
    Mode Type
    connection attribute to TASK.
    Although it is possible to run a single instance of the DB2 LOAD utility in the PowerExchange Listener address space by configuring the connection with a
    Mode Type
    of TASK, JCL prevents the use of a DD name more than once in a job. If you try to run a second instance of the DB2 LOAD utility in the PowerExchange Listener address space, the dynamic allocation of the data sets with the DD names SYSDISC, SYSERR, SYSIN, SYSMAP, SYSPRINT, SORTOUT, SYSUT1 fails because they are already in use by the other DB2 LOAD instance.

0 COMMENTS

We’d like to hear from you!