Page 1 of 1

Function in Basic Language

Posted: Fri Mar 15, 2013 9:11 am
by SUMAN CHILUVURI
Is there function in datastage basic language which is used to make the job wait for 10 minutes and then run

Posted: Fri Mar 15, 2013 9:22 am
by chulett
I seem to recall a SLEEP or NAP function or you could do the same thing at the command line via ExecSH. Do it before job and the job will "start" but not process anything on the canvas until the sleep ends.

Posted: Fri Mar 15, 2013 9:42 am
by priyadarshikunal
chulett wrote:I seem to recall a SLEEP or NAP function
Both statements are present in basic. Sleep statement takes number of seconds however NAP takes it in milliseconds.

Posted: Fri Mar 15, 2013 3:35 pm
by ray.wurlod
SLEEP takes either seconds or a time in HH:MM format. So SLEEP 13:45 will sleep until 1:45pm. If it is already after that time, no sleep will occur.