Equivalent of 'sleep' in a server routine
Posted: Tue Nov 20, 2007 2:00 am
Hi,
I need to pause processing that is happening in a loop for a few seconds. This is the best scenario for a UNIX 'sleep' command but I want to avoid that since the command will be given inside a loop. A call to UNIX multiple times inside a loop would drastically affect performance, so am looking for a DataStage equivalent of the sleep command. Is there such a thing?
Thanks,
Kaus
I need to pause processing that is happening in a loop for a few seconds. This is the best scenario for a UNIX 'sleep' command but I want to avoid that since the command will be given inside a loop. A call to UNIX multiple times inside a loop would drastically affect performance, so am looking for a DataStage equivalent of the sleep command. Is there such a thing?
Thanks,
Kaus