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 'A' contains:
1
2
3
4
5
6
7
8
9
10

input file 'B' contains:
6
7
8
9
10
11
12
13
14
15

Output file 'X' contains:
1
2
3
4
5

Output file 'Y' contains:
6
7
8
9
10

Output file 'Z' contains:
11
12
13
14
15

How can we implement this in a single ds job?

Answer Posted / shar

Yes Union of Two Files is a Good idea
but No need of Transformer Stage we can do it in this way:

src1 ,src2 -->Funnel--->Sort--->Filter---->trg1,trg2,trg3

at sort just put allow duplicates=false
&
at filter just give conditions
1. col1>=1 and col1<6 trg1
2. col1>=6 and col1<11 trg2
3. col1>=11 trg3

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can one find bugs in job sequence?

1496


Whats difference betweeen operational data stage (ods) and data warehouse?

1172


What is the difference between orabulk and bcp stages?

1076


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3693


How we can covert server job to a parallel job?

1261


how to sort two columns in single job in datastage.

2958


How do you start developing a datastage project?

1160


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

1044


What is difference between join, merge and lookup stage?

1151


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

3296


Difference between in process and inter process?

1308


Name the command line functions to import and export the DS jobs?

1202


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

2103


Is it possible to query a hash file?

2062


Explain usage analysis in datastage?

1224