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

my source seq file have
col1
1
2
3
4
5
6
7
8
9
i have 4 targets
t1 t2 t3 t4
1 2 3 4
5 6 7 8
9 like this how we can get?

Answer Posted / venkatesh

the flow is like this

source---->transformer-------->t1
----------->t2
-------------->t3
------------------>t4
in transformer create a stage variable to calculate mod value

mod(input,4) | mod_value
_________________|____________

in constrain write the condition as

mod_value =1 for t1
mod_value=2 for t2
mod_value=3 for t3
mod_value=0 for t4

try this u will get the required o/p

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between informatica and datastage?

1146


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3606


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)

866


Difference between ‘validated ok’ and ‘compiled’ in data stage?

1192


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

3211


What are stage variables?

1138


Which commands are used to import and export the datastage jobs?

1358


What is the command line function to import and export the ds jobs?

1095


Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?

3733


What is the process of killing a job in datastage?

961


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

952


What is active and passive stage?

1360


What are the job parameters?

1157


What is quality stage?

937


How to convert RGB Value to Hexadecimal values in datastage?

3926