I have a controller job where I call many jobs using the code.
I am using a for loop in which I repeatedly calling a job and incase it abort , resetting it and running agian in the loop.
My requirement is, after each itration of the loop it should wait for 30 seconds.
Is there a sleep or any function is availabe in datastage? So that in the jobcontrolm i can add that and my for loop will waot after each iteration
Wait function / Sleep function
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 238
- Joined: Fri Jul 25, 2008 8:55 am
Re: Wait function / Sleep function
Never tried but please check for help in datastage for Sleep
[/b]
[/b]
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
SLEEP seconds
SLEEP hh:mm
NAP milliseconds
Each of these is a statement, not a function. The hh:mm format for SLEEP uses a 24-hour clock, and causes the process to sleep until that time, or not to sleep at all if that time has already passed.
SLEEP hh:mm
NAP milliseconds
Each of these is a statement, not a function. The hh:mm format for SLEEP uses a 24-hour clock, and causes the process to sleep until that time, or not to sleep at all if that time has already passed.
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.