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 / abd

We can use stage variable in Tran Stage

IF @INROWNUM MOD 4 = 0 then T4
Else If @INROWNUM MOD 4 = 1 then T1
Else If @INROWNUM MOD 4 = 2 then T2
Else If @INROWNUM MOD 4 = 3 then T3

Try this

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

1041


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

1042


What is a merge in datastage?

1271


What are the types of containers?

1237


What is a quality stage in datastage tool?

1079


Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how

1555


Explain how a source file is populated?

1370


What are the job parameters?

1221


If you want to use a same piece of code in different jobs, how will you achieve this?

1277


What are the functionalities of link collector?

1085


What is staging variable?

1099


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2865


What are the types of views in datastage director?

1776


project Steps,hits, Project level HArd things,Solved methods?

2137


What is the difference between server job and parallel jobs?

1159