Академический Документы
Профессиональный Документы
Культура Документы
Landing Location
2
Information Management Software
1. Source Database
Landing Location
3
Information Management Software
Landing Location
• To configure:
• Define the table structure that will be sent to DataStage
• Define the DataStage connection method for Flat Files
• Define single or multiple format to determine how DataStage will
be processing the incoming records
4
Information Management Software
5
Information Management Software
6
Information Management Software
7
Information Management Software
• Single record
• In this format an update operation is sent as a single row
• The before and after image is contained in the same record
• E.g. Updating 3 records
"2010-11-23 21:43:24","0","U","EPANG","1","elaine ","1","update “
"2010-11-23 21:43:24","0","U","EPANG","2","elaine ","2","update “
"2010-11-23 21:43:24","0","U","EPANG","3","abc ","3","update "
• Multiple record format
• An update operation is sent as two rows, the first row being the before image
and the second row containing the after image.
• E.g. Updating 3 records
"2010-11-23 21:46:15","0","B","EPANG","1","update “
"2010-11-23 21:46:15","0","A","EPANG","1","hello “
"2010-11-23 21:46:15","0","B","EPANG","2","update “
"2010-11-23 21:46:15","0","A","EPANG","2","hello “
"2010-11-23 21:46:15","0","B","EPANG","3","update “
"2010-11-23 21:46:15","0","A","EPANG","3","hello "
8
Information Management Software
9
Information Management Software
Landing Location
• CDC for DataStage server hardens the files and deposits them
in the flat file location.
• While actively mirroring to a file it is not accessible to
DataStage. The process of hardening involves renaming the
file, replacing the ‘@’ with a ‘D’ thus making it available to
Datastage.
• To configure:
• Define the Batch Size Threshold settings to determine how often
CDC hardens the flat files that are made available to DataStage
10
Information Management Software
11
Information Management Software
Landing Location
12
Information Management Software
Landing Location
• To configure:
• DataStage definition file (*.dsx ) from Management Console or in
DataStage Designer
• Import definition file into DataStage and customize any additional
steps/stages where necessary
13
Information Management Software
14
Information Management Software
15
Information Management Software
16
Information Management Software
17
Information Management Software
18
Information Management Software
19
Information Management Software
20
Information Management Software
Initial Synchronization
21
Information Management Software
22
Information Management Software
• By default, the .dsx file generated by CDC will define that flat
files are removed once CDC has deposited the files into the
DataStage job.
• If additional sequencing of the files is required (i.e. multiple
tables containing foreign key relationships) this logic
requires customization.
• A DataStage expert can modify the .dsx file generated by CDC
to remove the cleanup logic and make adjustments as
appropriate.
23
Information Management Software
24
Information Management Software
Recovery
25