Function in Basic Language

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
SUMAN CHILUVURI
Premium Member
Premium Member
Posts: 19
Joined: Fri Oct 15, 2010 1:26 pm

Function in Basic Language

Post by SUMAN CHILUVURI »

Is there function in datastage basic language which is used to make the job wait for 10 minutes and then run
suman Datastage Developer
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post 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.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply