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...

i have source like
deptno,sal
1,2000
2,3000
3,4000
1,2300
4,5000
5,1100

i want target like

target1
deptno,sal
1,2000
3,4000
4,5000

target2
2,3000
1,2300
5,1100


with out using transformerstage

Answer Posted / sarath

first generate the surrogate key (eg rownum). then using the filter stage give the condition where= (rownum%2=0) to one dataset and rejected to another dataset.
I think this will work.

correct me if im wrong.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are .ctl(control files) files ? how the dataset stage have better performance by this files?

2814


client know skid info?

2086


How rejected rows are managed in datastage?

1524


What are stage variables and constants?

1149


What is the difference between informatica and datastage?

1229


What is the difference between datastage and informatica?

1120


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

8795


What is the difference between server job and parallel jobs?

1159


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

4188


what is flow of project?

2002


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

1969


What are the different options associated with dsjob command?

1442


What are some different alternative commands associated with "dsjob"?

1169


what is the custome stage in datastage? how can we impliment that one? plz tell me

2369


how to write server Routine coding?

2132