i/p o/p1 o/p2
1 1 4
1 1 5
1 1 6
2 2
2 2
2 2
3
3
4
5
6
how to populates i/p rows into o/p1&o/p2 using datastage
stages?and also the same scenario using sql?

Answer Posted / rvanaja.etldeveloper@gmail.com

just read the data in sequential file
and take aggregator
group=cid
aggregation type=count rows
count output column=countno
then take filter from filter you drag 2 links for two outputs
in filter write conditions like bellow and give link order
where clause=countno>1
and
where clause=countno=1
map in output links
seqfile-->aggregator-->filter-->2 torgets

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you filter data in hashed file?

3347


How you can fix the truncated data error in datastage?

1207


How many Key we can define in remove duplicate stage?

822


Notification Activity

901


Which commands are used to import and export the datastage jobs?

983






What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

1637


How a source file is populated?

620


What is a merge?

672


To see hidden files in LINIX?

946


What are the different type of jobs in datastage?

608


Differentiate between operational datastage (ods) and data warehouse?

674


Difference between data warehousing and olap?

653


What is a folder? Difference types of stages?

632


Define Merge?

879


Define Job control?

679