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 / vijaya

Hi

first sort the input date then use the transformer stage by
using stage variables you can use the logic like check the
first record then check the second record if both are equal
send the output to o/p1 or else send to o/p2....

I hope i made u understand the logic

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between informatica and datastage?

658


How you Implemented SCD Type 1 & Type 2 in your project?

3699


How do you schedule or monitoring the job?

671


client know skid info?

1635


Differentiate between hash file and sequential file?

585






Can you define merge?

668


What are data elements?

661


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

1720


How to clean the datastage repository?

696


whom do you report?

1504


How a routine is called in datastage job?

609


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1669


What could be a data source system?

579


How you can fix the truncated data error in datastage?

1207


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3271