How u implement the slowly changing dimensions if my source
table is consisting of cid,cname,add,phno,email but i need to
capture the changes for first three columns how u implement?



How u implement the slowly changing dimensions if my source table is consisting of cid,cname,add,p..

Answer / vinod upputuri

This is done by using the Change_Capture_Stage.

In the CDS stage: specify the change key's--> cid and
change_values as cname,add and phone etc

CDC stage triggers the Change_code as 3 if there is any
changes in the cname or add or phone no for the existing cid.

Ex: cid,cname,add,phone,email
1,'vin','bang','08979','vin@Gmail.com'

REf:
cid,cname,add,phone,email
1,'vin','HYD','08979','vin@Gmail.com'

O/P: cid,cname,add,phone,email,Change_code
1,'vin','HYD','08979','vin@Gmail.com',3

Is This Answer Correct ?    13 Yes 0 No

Post New Answer

More Data Stage Interview Questions

I have a source table with column name CITY having 100 records, I want target table with column name start with 'A' and 'B',remaining columns as reject outputs. how can achieve this by data stage?please help me?????

5 Answers  


job locking methods? How can we unlock the job?

3 Answers   IBM,


source which format u will get either fixed or delimiter length format? what is the symbol of delimiter?

2 Answers   Wipro,


How do y read Sequential file from job control?

2 Answers   HP, IBM, Telesis,


which memory is used by lookup and join

5 Answers   IBM,






There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

5 Answers   IBM,


How can you join flat file, oracle as a sources?

4 Answers   IBM,


Tell me the syntax of Configuration file?

1 Answers  


in sequtial file 2 columns avaliable, i want only one column load the target. for this we can do by modify and copy stage. But here when using modify stage (in property drop column1) until it is ok. if target is data set How to view the data. with out using data management. what is the reason for this. if any body know this answer plz tel me. thanks.

1 Answers   IBM,


How to LOG 'unmatched Master' records and 'Reject Updates' in log files using MERGE stage?

1 Answers   TCS,


How can we run same job in 1 day 2 times

7 Answers   IBM,


Describe routines in datastage? Enlist various types of routines.

0 Answers  


Categories