if we using two sources having same meta data and how to
check the data in two sources
is same or not? and if the data is not same i want to abort
the job ?how we can do this?
SeqFile1----->|
.................|ChangeCapture--->Transformer--->TGT
SeqFile2----->|
SeqFile1 & SeqFile2 are the inputs to Change Capture.
From the output Change Capture Stage we one extra column
‘Change Code’.
If, the record is same in both file, i.e. Copy Record.
Change Code=0
If, the record is only in SeqFile1, i.e. insert Record.
Change Code=1
If, the record is only in SeqFile2, i.e. delete Record.
Change Code=2
If, the record is in both files but with some modifications,
i.e. edit/update Record. Change Code=3
If all Change are '0' then 2 files having same Data.
In the transformer constraints, we can mention as ‘ change
code <>0’ then set ‘Abort After Rows’ to ‘1’.
| Is This Answer Correct ? | 9 Yes | 2 No |
How can we run same job in 1 day 2 times
How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?
What is diff between Junk dimensions and conform dimension?
If I make any changes in the parallel job,do I need to implement the changes in the sequencer job,else the changes will be reflected automatically
Hi Friends, I have a input data like, class_id Marks 101 50 101 60 101 40 102 90 102 35 And i want my output data like class_id Marks Rank 101 50 2 101 60 1 101 40 3 102 90 1 102 35 2 how to do this in datastage?
8 Answers Cognizant, HCL, TIAA CREF,
diff between changecapture & diffrence stage which situvation we can use the diffrence stage ?
What is difference between symmetric multiprocessing and massive parallel processing?
How many areas for files does datastage have?
source file having the data like aabbccc, i want target file result like a1a2b1b2c1c2c3.
A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?
Can you define merge?
How do you remove duplicate values in datastage?