hi All,
i have one scenario like if

source--->transformer-->2 target sequential files

the 1 st target sequential file is loads the data from
source
and 2nd target sequntial file contain the 1st target total
record count,and file name of 1 st target seq file and
timestamp seperated by delimeter

for example if source have 10 record the 1st target seq
file hav 10 records
and
2nd target seq file example
10|xyz.txt|20101110 00:00:00

could you please help me out how can i implement in
datastage job.

Answer Posted / bharath

Hi,
in derivation for seq2 give as follows,
for file name give job parameter as file name and datatype is char..
for timestamp give Current CurrentTimestamp()
for count rows it is not not possible by using transformer
it can be achieved by adding another stage
that is aggregation stage..

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you want to use the same piece of code in different jobs, how will you achieve it?

625


i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu

2262


what is the use of skid in reporting?

1945


What is the difference between account and directory options ?

611


how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara

351






how to abort the job its matain duplicates?

2091


What are the types of jobs we have in datastage?

658


What is quality stage?

560


What is the flow of loading data into fact & dimensional tables?

583


What are the repository tables in datastage?

812


On which Dimension Table you implemented SCD Type in your Project

1564


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

628


What is a quality stage in datastage tool?

618


Can you implement SCD2 using join, transformer and funnel stage?

1071


Can you explain engine tier in information server?

642