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

Use input file1 as after file and input file2 as before file to a change capture stage. Change capture stage generates change code 0 for 6,7,8 & 1 for 1,2,3,4,5 and 2 for 9,10,11. Use a filter/switch stage after change capture stage to write records to output file1 when change code is 0, to output file2 when change code is 1 and to output file3 when change code is 2.

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 the use of surogate key in datastage

2279


Can you define merge?

1079


What are the partitioning techniques available in link partitioner?

2251


What is usage analysis in datastage?

1279


what is repositery?

1798


Differentiate between Join, Merge and Lookup stage?

1056


Distinguish between informatica & datastage. Which one would you choose and why?

971


how to delete one row in target dataset

3083


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

3145


Can you filter data in hashed file?

3751


Define data aggregation?

1064


Can you explain repository tables in datastage?

1360


What is a quality stage in datastage tool?

1042


What is difference between server jobs & parallel jobs?

1007


What is the purpose of pivot stage and types of containers in datastage

1010