Professional Documents
Culture Documents
PowerExchange 9.X
Training | CIF CONSULT | Redouane BELBAHRI
Agenda
Objectives
What is PowerExchange
How Does the Team typically use PWX
Power Exchange Batch Architecture
Real Examples
Agenda
Objectives
Agenda
Agenda
What is PowerExchange
Agenda
Change Data Capture Allows you to monitor and retrieve changes that have occurred to
data in which you have expressed an interest.
Data Maps Used to access data sources like IMS databases, VSAM files and flat files.
Personal Metadata - Allows you to browse meta data from remote databases.
Remark: Change Data Capture (CDC) and Personal Metadata are out of scope in this presentation
PowerExchange
Batch Platforms
PowerExchange
Change Capture (CDC)
Agenda
Data from the row test can be copied into a text file and then imported into Excel
as a comma delimited file.
Making sure that the input data can be seen correctly by PWX
Interaction with Power Center
comp-x fields.
Agenda
Informatica PowerExchange
Design Time - Batch Architecture
PowerExchange Change Data Capture (CDC) works in conjunction with PowerCenter to capture
changes to data in source tables and replicate those changes to target tables and files.
PowerExchange Approach
What is a Datamap ?
Configuration File
Configuration File
Sets many defaults parameters for PowerExchange
Provide security settings
Communication Settings
Config
File Communication Params:
Sample dbmover.cfg file
LISTENER
Node Name
TCPIP (standard parm)
Port Number
NODE
Node name
TCPIP (standard parm
Host Name or IP address
Port Number
What is a Listener?
The Listener is the equivalent of the phone number that defines a number, whitch is the IP address and Port,
once turned on can be called from other places.
Agenda
Real Examples
Examples
1.
2.
3.
Demonstration
Of PWX
Connection to
PowerExchange
client tool
OR
Desktop icon
Acces
Homepage
Demonstration
Of PWX
Demonstration
Of PWX
1.
The Cobol file structure you are being to use should not contains the header informations, if not later you will
have this error
Demonstration
Of PWX
1.
2.
3.
Demonstration
Of PWX
1.
1.
2.
3.
4.
Insert the file name (data file) that the map will need to read in Informatica
(this file will be on the server).
Select fixed or variable depending on the type of file.
In the Size box, enter the record length (if not known give 1 as size, will correct later).
The screen print above is for a fixed file only.
Click Finish
Demonstration
Of PWX
Demonstration
Of PWX
Column Range:
Enter the start and end column range for the copybook:
Source:
1.
2.
Enter information about the location and type of metadata that you want to import.
Click Next
system.
1.
2.
Demonstration
Of PWX
1.
Click Finish
Demonstration
Of PWX
1.
Click OK
Demonstration
Of PWX
Record Definition
1.
Click OK
Demonstration
Of PWX
Table
Record
1.
Click OK
Demonstration
Of PWX
1.
2.
3.
Click Close
Make a note of the file actual length
Click yes
Demonstration
Of PWX
1.
2.
Right click on Test.EBCDIC in the resource explorer (Data Map) and select properties.
Select the SEQ Access Method Tab and change the length to 350.
Demonstration
Of PWX
Demonstration
Of PWX
A PowerExchange Navigator resource configuration defines the location of data maps, personal metadata profiles,and any locally stored capture
registrations and extraction maps.
Note: You cannot edit the resource configuration if a PowerExchange resource is open.
Demonstration
Of PWX
Demonstration
Of PWX
1.
2.
In the Database Row Test dialog box select NRDB (Nonrelational data source )
Enter the name of the file in the Override File Name box (file should be in the server)
Click Go
3.
4.
Demonstration
Of PWX
Demonstration
Of PWX
Demonstration
Of PWX
Demonstration
Of PWX
Demonstration
Of PWX
1.
2.
Demonstration
Of PWX
Demonstration
Of PWX
1.
2.
3.
4.
1.
2.
Select the data map that you want to import from PWX
Click ok
Demonstration
Of PWX
Demonstration
Of PWX
Metadata Extensions
Note here, there is a Metadata Extension created automatiqually in the source
VSAM.
Demonstration
Of PWX
Demonstration
Of PWX
Demonstration
Of PWX
1.
2.
3.
In the Workflow manager, create new Application Connection to use in the session,
Choose PWX NRDB Batch
Click OK
Demonstration
Of PWX
Demonstration
Of PWX
1.
2.
3.
4.
In the Workflow manager, create new Application Connection to use in the session,
Choose PWX NRDB Batch
Choose Code Page: IBM1047
Click OK
PC Session runs
1.
When the PC session runs, it would talk to the PWX Listener on the Integration Server, and the PWX Listener
would open the file, read it, and send the data to the PowerCenter session
Demonstration
Of PWX
\DATAMAPS\Training.EBCDIC.dmp
Coming
soon
Example 1
A VSAM data set consists of two record types of different lengths distinguished by the value in a field that is in the same location in both record types.
Below is a sample COBOL copybook of the records definition:
01VSAMVAR-REC1.
10 KEY-FIELDPIC X(2).
10 REC-TYPEPIC X.
10 CHAR-FIELDPIC X(10).
01VSAMVAR-REC2.
10 KEY-FIELDPIC X(2).
10 REC-TYPEPIC X.
10 CHAR-FIELDPIC X(20).
Example 2
A VSAM data set consists of one record type whose last field is optional.
Below is a sample COBOL copybook of the record definition:
01VSAMVAR-REC1.
10 FIELD1PIC X(2).
10 FIELD2PIC X.
10 FIELD3PIC X(10).
Example 3
A VSAM data set consists of a record that contains a variable length field. The length of the field is contained in a field prior to the variable length field.
Below is a COBOL copybook of the record definition:
01VSAMVAR-REC1.
10 FIELD1PIC X(2).
10 FIELD2PIC 99.
10 FIELD3PIC X occurs 10 times depending on FIELD2.
Windows Registry
Navigator
import the datamaps that you want to migrate.
Copy the .dmp files to theLocal Path for your new PowerExchange Navigator environment.
Save each datamap in the new Navigator environment:
To replace invalid pack data with zeros enable Data Checking in the
PowerExchange Datamap Properties.
1.
2.
3.
4.
5.
6.
To retain records with bad data in the source file do the following:
Select the Data Checking option in the Datamap properties.
Select "Skip row and write log file msg" under the How do you want to handle Bad Field Data? list. This option will skip the
records with bad data and writes the record to the PowerExchange Listener Detail log.
3. Clear the Suppress Data Logging to retain the record.
1.
2.
VSAM
UPACKED Fields
For the UPACKED Fields. In the output, we expect sign as F instead it was
coming as C. This was an issue in the configuration settings. To resolve this we
need to add the following setting in dbmover.cfg file.
NUMERICSIGN=F