On Fri, 19 Nov 2010 17:52:18 -0600, Paul Gilmartin <[email protected]> wrote:

>On Fri, 19 Nov 2010 17:41:49 -0600, Mark Zelden wrote:
>>
>>Based on a quick test of SLEEP from TSO without  rc=syscalls('ON'), it looks
>>like it isn't required.   Maybe since z/OS 1.8.
>>
>I assume you mean "sleep 0".  Fortunately that doesn't mean
>"sleep forever", as some languages quirkily treat null constructs.
>

I ran this test.  I've always included rc=syscalls('on') in the past.

/* REXX */                                 
arg sleep_time                             
if sleep_time = '' then sleep_time = 10    
say 'Sleeping for' sleep_time 'seconds.'   
address syscall "sleep" sleep_time         

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                          
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to