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

seq file1 and file2 as input to change capture stage and then a switch stage with case=0,1,2 (on change code). Case=0 will give 6,7,8. Case=1 will give 1,2,3,4,5 and case=2 will give you 9,10,11

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the third party tools that can be used in datastage?

611


sed,awk,head

966


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

617


Explain the datastage parallel extender (px) or enterprise edition (ee)?

728


Explain datastage architecture?

815






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

1445


Enlist various types of routines in datastage.

643


Difference between server jobs & parallel jobs?

648


how can we create rank using datastage?what is the meaning of rank?

8172


how to abort the job its matain duplicates?

2103


Have you used Unstructured data?

832


Describe stream connector?

832


Explain Quality stage?

667


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3265


How to read multiple files using a single datastage job if files have the same metadata?

737