Table of Contents

Search

  1. Introduction
  2. PowerExchange Client for PowerCenter (PWXPC)
  3. PowerExchange ODBC
  4. PowerExchange Interfaces for PowerCenter Tips
  5. Datatypes and Code Pages
  6. PowerExchange Interfaces for PowerCenter Troubleshooting

PowerExchange Interfaces for PowerCenter

PowerExchange Interfaces for PowerCenter

Configuring Sessions to Load Data to Relational Targets

Configuring Sessions to Load Data to Relational Targets

To load data to a relational target, select a relational database connection. You can then configure properties for session as you would any other relational target.
DB2 for i5/OS tables can also be accessed as flat files. If the table has been imported into PowerExchange as a sequential data map, you can use a PWX NRDB Batch application connection to write to it.
To configure sessions to load data to relational targets:
  1. In the Task Developer, double-click the session to edit it.
  2. Click the Targets view on the Mapping tab.
  3. In the Writers setting, select Relational Writer to run sessions with relational targets.
  4. In the Connections Value field, select a relational database connection from one of the following types:
    • For DB2 for i5/OS, select PWX DB2i5OS.
    • For DB2 for Linux, UNIX, and Windows, select PWX DB2LUW.
    • For DB2 for z/OS, select PWX DB2zOS.
    • For Microsoft SQL Server, select PWX MSSQLServer.
    • For Oracle, select PWX Oracle
  5. Configure any other session properties.
    If you select the
    Truncate Table Option
    session property for a PWX DB2zOS target connection, by default, PowerExchange issues a TRUNCATE statement to truncate table contents before loading new data.
    If you specify the DB2TRUNCASDEL=Y override option in the
    PWX Override
    connection attribute for a DB2 for z/OS target, PowerExchange issues a DELETE statement instead of a TRUNCATE statement. The DB2TRUNCASDEL override applies only to DB2zOS target connections.
    For DB2i5OS target connections, PowerExchange always issues a DELETE statement. For DB2LUW target connections, PowerExchange always issues a TRUNCATE statement.
  6. Click
    OK
    .

0 COMMENTS

We’d like to hear from you!