Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

4129


What is meta stage?

1185


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

1416


What is a datastage job?

1013


Terminate Activity

1284


What is ds designer?

1107


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

3347


Describe routines in datastage? Enlist various types of routines.

1016


What are system variables and sequencers in datastage

1117


What are the types of containers in datastage?

1193


How do you register plug-ins?

966


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

3167


What are the main features of datastage?

1285


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2264


Have you used Unstructured data?

1323