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

Performing a Multiple-Record Write to an IMS Unload Data Set

Performing a Multiple-Record Write to an IMS Unload Data Set

To transfer data in the correct physical sequence from a multiple-record IMS unload data set source to a multiple-record IMS unload data set target, configure a session that performs multiple-record writes.
  1. Create a multiple-record data map for the IMS data source, if you have not already created one.
  2. In the PowerCenter Designer, click
    Sources > Import from PowerExchange
    .
  3. In the
    Import from PowerExchange
    dialog box, enter the required information.
    The following table describes the required information:
    Attribute
    Description
    Location
    Name of the node on which the source file resides. This value must match the name of a NODE statement in the PowerExchange dbmover.cfg file.
    User Name
    User name that has the database authority to connect to the target.
    Password
    Password that is associated with the user name.
    Multi-Record Datamaps
    Whether to list multiple-record data maps for selection.
    Select this check box.
    Use Sequence Fields
    Whether to generate sequence fields for multiple-record write operations.
    Select this check box.
    Source Type
    Data source type.
    Select
    IMS.
    For more information about this dialog box, see
    PowerExchange Interfaces for PowerCenter
    .
  4. Click
    Connect.
    The available multiple-record data maps appear in the
    Selected Datamaps
    box.
  5. Select the data map that you want to import.
  6. Click
    OK.
    The source definition appears in the workspace.
  7. Click
    Targets > Import from PowerExchange
    .
  8. In the
    Import from PowerExchange
    dialog box, enter the required information.
    The following table describes the required information:
    Attribute
    Description
    Location
    Name of the node on which the source file resides. This value must match the name of a NODE statement in the PowerExchange dbmover.cfg file.
    User Name
    User name that has the database authority to connect to the source.
    Password
    Password that is associated with the user name.
    Multi-Record Datamaps
    Whether to list multiple-record data maps for selection.
    Select this check box.
    Use Sequence Fields
    Whether to generate sequence fields for multiple-record write operations.
    Select this check box.
    Source Type
    Data target type.
    Select
    IMS.
  9. Click
    Connect.
    The available multiple-record data maps appear in the
    Selected Datamaps
    box.
  10. Select the same data map that you selected for the source definition.
  11. Click
    OK.
    The target definition appears in the workspace.
  12. Create a mapping that includes the source definition, Source Qualifier transformation, and target definition.
    Between the Source Qualifier transformation and the target definition, you can include transformations that meet the requirements in Rules and Guidelines for Multiple-Record Writes to IMS Unload Files.
  13. Define a connection for the IMS database, if one does not already exist.
  14. Define PowerCenter session properties:
    1. In the Task Developer, double-click the session to edit it.
    2. On the
      Mapping
      tab, click the
      Sources
      view.
    3. Under
      Properties
      , set the
      IMS Unload File Name
      property to the name of the IMS source unload file.
    4. Define additional source properties as needed.
    5. On the
      Mapping
      tab, click the
      Targets
      view.
    6. Under
      Properties
      , set the
      IMS Unload File Name
      property to the name of the IMS unload file that you want the session to allocate.
    7. Define additional target properties as needed.
      If you want PowerExchange to create the empty target data set before the PowerCenter session runs, include the CREATEFILE command in the
      Pre SQL
      session property for the target. For more information, see the discussion of empty files in the appendix, "PowerExchange Interfaces for PowerCenter Tips," in the
      PowerExchange Interfaces for PowerCenter
      guide.
    8. Click
      OK
      .

0 COMMENTS

We’d like to hear from you!