I have Seq file, I don't want 10, 11th(or any two records like 20, 30th records ) records in the output

Answer Posted / sushil

SeqFile---->Tranfrmr----->TGT
To number of rows in a sequential file in Transformer we
can use @INROWNUM, store value in variable ROW_NUM and then
by providing condition as same condition as:
ROW_NUM = '10' and ROW_NUM = '11' we can skip such records.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1471


What is a merge in datastage?

772


Can you explain repository tables in datastage?

906


How do you remove duplicate values in datastage?

632


Highlight the main features of datastage?

615






In Datastage, how you can fix the truncated data error?

640


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

365


I have a few records just I want to store data in to targets cycling way how?

1902


how to abort the job its matain duplicates?

2109


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

604


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

4570


Name the different types of Lookups in Datastage?

729


What are the functionalities of link partitioner?

621


How complex jobs are implemented in datstage to improve performance?

602


How to perform incremental load in datastage?

672