if the source file is
CID,CCODE,CONNDATE,CREATEDBY
0000000224,1000,20060601,CURA
0000000224,2000,20050517,AFGA
0000000224,3000,20080601,TUNE
0000000225,1000,20020601,CURA
0000000225,2000,20050617,AFGA
0000000225,3000,20080601,TONE
AND TARGET is oracle
following are the validations
cid loaded with unique records
leading zeors has to be deleted while loading cid in target
load only customer who got early connected to company
conn_date should be loaded into oracle date format
cid datatype is varchar2 in target
conn_date is data datatype
ccode is varchar2
0000000224,1000,20060601,CURA
0000000224,1000,20060601,CURA

Answer Posted / rajesh

1)first sort d data in accending order based on date and remove duplicates
2)in transformer write a derivation to delete leading zeros by using function trim. eg- trim(col 1)
3)change date format by using date functions in transformer
4)change d data types to be fitted according to following ask

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On which interface you will be working as a developer?

626


What is the use of hoursfromtime() function in transformer stage in datastage?

578


Define oconv () and iconv () functions in datastage?

868


Is the value of staging variable stored temporarily or permanently?

565


What is datastage?

642






explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

1918


How to read the length of word in unix?

875


Explain the importance of surrogate key in data warehousing?

704


Explain Quality stage?

659


What is staging variable?

613


What is the difference between odbc and drs stage?

631


Name the different types of Lookups in Datastage?

718


How the ipc stage work?

663


What are the functionalities of link collector?

620


What are the difference types of stages?

613