I need to loop 'x' times for a functionality. 'x' is a variable and can be passed as an environment variable to the job.
if x=4; I need to loop for a particular logic (coded within shared container) 4 times.
How can I handle looping in DataStage PX job?
Looping in DataStage Job
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
The job flow design contains lot of other stuff within the job itself. The looping required is for different file merge with different schema and I am using Generic Stage to provide the dynamic expression files to merge operator.Krazykoolrohit wrote:why dont u use "do while" in Unix scripting?
This merge operator needs to be looped.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
All DataStage environments except mainframe support job sequences.skrakesh wrote:The problem is the environment being used here doesnot support sequencer. I need to loop within DataStage job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.