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

Name the different sorting methods in datastage.

1106


How do y read Sequential file from job control?

16082


Why we use surrogate key?

1308


whom do you report?

1986


What is "fatal error/rdbms code 3996" error?

1344


What are the functionalities of link collector?

1140


Lookup constraints

1308


What are the components of ascential data stage?

1246


What is the precedence of stage variables,derivations, and constraints?

1130


Differentiate between hash file and sequential file?

1132


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2551


What could be a data source system?

1098


What are transforms and what is the differenece between routines and transforms?

1110


Differentiate between validated and Compiled in the Datastage?

1357


Describe routines in datastage? Enlist various types of routines.

1054