Input file one has data as shown below
1
2
3
4
5
6
7
8

Input file two has data like
6
7
8
9
10
11

Design a data stage job which will provide me three output files as shown below:
Output 1
6
7
8

Output 2
1
2
3
4
5

Output 3
9
10
11

Let me know your answers

Answer Posted / pavani

by using join type=full outer.we have to get output has 2 columns. 1st_column values are first inputs and remaining nulls,2_column values are second input and remaining are nulls.
then by using transformer write a constraint
1.output----->1st_column=2_column;
2.output----->2_column=null or'';(depending on input data)
3.output----->1st_column=null or'';(depending on data)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is "fatal error/rdbms code 3996" error?

663


What are system variables and sequencers in datastage

605


how to abort the job its matain duplicates?

2102


Notification Activity

895


what is the custome stage in datastage? how can we impliment that one? plz tell me

1909






Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

2742


How many types of views are there in a datastage director?

832


Differentiate between data file and descriptor file?

617


root tree will find which is server job and which is parallel job?

1445


What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?

2541


Difference between ‘validated ok’ and ‘compiled’ in data stage?

669


How can you write parallel routines in datastage PX?

616


What is a merge?

668


How do you run datastage job from the command line?

596


What is usage analysis in datastage?

811