Академический Документы
Профессиональный Документы
Культура Документы
Slide 2
© Affiliated Computer Services, Inc. (ACS) 2007
What is Power Exchange
Slide 3
© Affiliated Computer Services, Inc. (ACS) 2007
How Does the Team typically use PWX
Slide 4
© Affiliated Computer Services, Inc. (ACS) 2007
How Does PWX work?
1. Client/Server tool
Creation of a data map on a client which
gets pushed to the server
Power Center sources/targets the PWX data
map when you use the option to Import
from PWX
Slide 5
© Affiliated Computer Services, Inc. (ACS) 2007
Common Problems
Developers need to be careful not to step on
each other – Node1(server) is easily overlaid
Using the wrong length, file, copybook,
setting (variable or fixed) can cause the
data maps not to work correctly
If there are multiple record types in a file,
don’t forget to set your record codes. This
keeps Power Center from having to look at
non-necessary data
Slide 6
© Affiliated Computer Services, Inc. (ACS) 2007
Examples
Slide 7
© Affiliated Computer Services, Inc. (ACS) 2007
Example 1 – Fixed length VSAM file
Add a Data Map
Fill in the Schema name and the Data Map Name
Insert the Input File name and it’s location on the
server, Select the fixed option, & change the
default line to EBCDIC & IBM-1047
Enter the name of the source file copybook
Slide 8
© Affiliated Computer Services, Inc. (ACS) 2007
Right click on the data map folder to add a data map.
Slide 9
© Affiliated Computer Services, Inc. (ACS) 2007
Fill in the Schema Name and the Data Map Name
Click next
Slide 10
© Affiliated Computer Services, Inc. (ACS) 2007
Insert the file name 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.
The screen print above is for a fixed file only.
The next screen print would be for a variable file.
Slide 11
© Affiliated Computer Services, Inc. (ACS) 2007
Insert the file name 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. The screen print above is for a variable file only.
Click finish
Slide 12
© Affiliated Computer Services, Inc. (ACS) 2007
Click next
Slide 13
© Affiliated Computer Services, Inc. (ACS) 2007
Tell Power Exchange where you have your copybook located on your PC.
Click next.
Slide 14
© Affiliated Computer Services, Inc. (ACS) 2007
Click Finish
Slide 15
© Affiliated Computer Services, Inc. (ACS) 2007
Make a note of the files actual length.
Click yes.
Slide 16
© Affiliated Computer Services, Inc. (ACS) 2007
Right click on dctest.testprvcap in the resource explorer and se
properties.
Select the SEQ Access Method Tab and change the length to 3
Slide 17
© Affiliated Computer Services, Inc. (ACS) 2007
Save the data map to Power Exchange and Node1.
Click ok
(You may have to select node1, the value of default usually
shows up here.)
Slide 18
© Affiliated Computer Services, Inc. (ACS) 2007
Slide 19
© Affiliated Computer Services, Inc. (ACS) 2007
Go into Informatica designer and open the
Source Analyzer. Select Sources and
then Select Import from
PowerExchange.
Slide 20
© Affiliated Computer Services, Inc. (ACS) 2007
Select Multi-Record Datamaps.
Click connect.
Slide 21
© Affiliated Computer Services, Inc. (ACS) 2007
Select the data map that you want to
import from PWX Click ok
Slide 22
© Affiliated Computer Services, Inc. (ACS) 2007
If the copybook has multiple
layouts it will look like this when
you expand it, you can then select
the layout you want (shown
below). If there is only 1 layout
then select the main folder as
shown above in the previous slide.
Slide 23
© Affiliated Computer Services, Inc. (ACS) 2007
Example 2 – Variable Length VSAM file
Add a Data Map
Fill in the Schema name and the Data Map
Name
Insert the Input File name and it’s location on
the server, Select the variable option, select
VBP2, & change the default line to EBCDIC &
IBM-1047
Enter the name of the source file copybook
Slide 24
© Affiliated Computer Services, Inc. (ACS) 2007
Fill in the Schema Name and the Data Map Name
Click next
Slide 25
© Affiliated Computer Services, Inc. (ACS) 2007
Select variable option and select VBP2.
The default line always needs to be
EBCDIC & IBM-1047.
Slide 26
© Affiliated Computer Services, Inc. (ACS) 2007
Click Next
Slide 27
© Affiliated Computer Services, Inc. (ACS) 2007
Tell Power Exchange where you have your copybook
located.
Click next.
Slide 28
© Affiliated Computer Services, Inc. (ACS) 2007
Click Finish
Slide 29
© Affiliated Computer Services, Inc. (ACS) 2007
Click ok
Slide 30
© Affiliated Computer Services, Inc. (ACS) 2007
Select Generate Unique Name.
Select Apply to rest of import session.
Click ok
Slide 31
© Affiliated Computer Services, Inc. (ACS) 2007
To skip the date header record
Right click on the record_code field and select
properties
Slide 32
© Affiliated Computer Services, Inc. (ACS) 2007
Set the Record ID Value to 21
Click ok
Then save to PWX and node1.
Slide 33
© Affiliated Computer Services, Inc. (ACS) 2007
Example 3 – Variable Length VSAM file with
multiple record types
Add a Data Map
Fill in the Schema name and the Data Map Name
Insert the Input File name and it’s location on the
server, Select the variable option, select VBP2, &
change the default line to EBCDIC & IBM-1047
Enter the name of the source file copybook
After the data map has been saved, the record
codes will need to be updated before saving the
data map to node1 so that you can differentiate
between the record types.
Slide 34
© Affiliated Computer Services, Inc. (ACS) 2007
Questions?
Slide 35
© Affiliated Computer Services, Inc. (ACS) 2007