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

What are the different layers in the information server architecture?

647


Why do you need stage variables?

670


How to implement complex jobs in data stage?

621


Differentiate between validated and Compiled in the Datastage?

653


What is staging variable?

626






What is ds designer?

659


What are the job parameters?

714


how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)

530


What is merge stage?

770


Explain ibm infosphere information server and highlight its main features?

615


What are the differences between datastage and informatica?

572


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

975


What is the difference between datastage and datastage tx?

600


how do u catch bad rows from OCI stage? And what CLI stands for?

2294


How many types of stage?

684