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:
In the Task Developer, double-click the session to edit it.
Click the Targets view on the Mapping tab.
In the Writers setting, select Relational Writer to run sessions with relational targets.
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
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.