Moving DB2 for i5/OS Bulk Data - DB2 Access Method
Moving DB2 for i5/OS Bulk Data - DB2 Access Method
Use the following procedure to move DB2 for i5/OS bulk data. This procedure assumes that you use the DB2 access method and PWXPC without a data map.
Before you begin, gather the following information:
DB2 database name and schema name
DB2 table names in one of the following formats:
schema.table
if you are using the SQL table format or
library.file
if you are using the sequential file format
i5/OS user ID and password, if required by the security settings in the SECURITY statement in the DBMOVER configuration file
Also, if you want to preview the DB2 data from the PowerExchange Navigator first, you can create a personal metadata profile and perform a database row test on it. The PowerExchange Navigator displays metadata for each DB2 column. The metadata shows column attributes such as datatype, date format, and CCSID. DB2 for i5/OS can store dates and timestamps in multiple date formats.
To move DB2 for i5/OS bulk data by using the DB2 access method:
In the PowerCenter Designer, click
Source
>
Import from PowerExchange
for a DB2 data source or
Target
>
Import from PowerExchange
for a DB2 data target.
In the Import from PowerExchange dialog box, select
DB2i5OS
as the source type. Also, enter the location, the DB2 database name, and the user ID and password that are required to access the database, if any. Complete the other fields, as needed.
In the
Location
field, enter the PowerExchange Listener node name that you specified in the NODE statement in the DBMOVER configuration file on the PowerExchange system.
In the PowerCenter Designer, create a mapping that includes the DB2 for i5/OS source or target.
In the PowerCenter Workflow Manager, define a workflow and session and configure a PWX DB2i5OS Batch relational database connection. Then start the workflow to perform the bulk data movement.