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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of hash files are there?

605


Can you explain tagbatch restructure operator?

693


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

655


What all are the different way to run a job?

635


What steps should be taken to improve Datastage jobs?

633






Nls stands for what in datastage?

722


What is the roundrobin collector?

635


Name the third party tools that can be used in datastage?

605


Define project in datastage?

660


What is a folder? Difference types of stages?

618


Why we use surrogate key?

694


What is the different type of jobs in datastage?

562


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

2837


How a routine is called in datastage job?

599


Can you highlight the main features of ibm infosphere information server?

631