Looping concept in Datastage
Posted: Fri Dec 10, 2010 12:42 am
Hi,
I need to implement a looping concept in one of my jobs.
I'll be having a count value in a column in one of my tables.Based on the count value present, i need to run my job that many times in sequence.
Say for example if count value is 7, i need to run my job 7 times, each time passing value as 1,2,3,4,5,6,7. This count value is dynamic. Say if it's 15 then i need to run my job 15 times each time passing value 1,2,3.......15.
Please help me on how to implement this logic (in sequencer)
Thanks in Advance.
Regards,
Balakrishna
I need to implement a looping concept in one of my jobs.
I'll be having a count value in a column in one of my tables.Based on the count value present, i need to run my job that many times in sequence.
Say for example if count value is 7, i need to run my job 7 times, each time passing value as 1,2,3,4,5,6,7. This count value is dynamic. Say if it's 15 then i need to run my job 15 times each time passing value 1,2,3.......15.
Please help me on how to implement this logic (in sequencer)
Thanks in Advance.
Regards,
Balakrishna