Gil,

Rexx doesn't have a sleep function, usually the call is external to running 
environment

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


> On Dec 23, 2013, at 6:30 PM, Paul Gilmartin <[email protected]> wrote:
> 
>> On Mon, 23 Dec 2013 15:13:41 -0800, Ed Jaffe wrote:
>> 
>>> On 12/23/2013 2:39 PM, Gibney, Dave wrote:
>>> I have been using //SLEEP EXEC PGM=BPXBATCH,PARM='SH sleep &SECONDSs'  as a 
>>> delay step in some of my STCs to wait for things like TCPIP to get up 
>>> first. I know there are other options.
>>> It appears with my new z/OS 1.13 system, that prior to OMVS being up and 
>>> functioning, this sleep command just returns with RC=0
>>> 
>>> Is this expected behavior?
>> 
>> I suggest asking this on the MVS-OE list, which is frequented by Bill
>> Schoen and others who can be considered authoritative on such matters.
> +1
> 
> I'll suggest also trying PGM rather than SH.  PGM might depend on less
> framework being in place than SH.
> 
>> On Mon, 23 Dec 2013 17:45:49 -0500, Scott Ford wrote:
>> 
>> How can you execute a USS command without it being up ? If you need to sleep 
>> you could use rexx if you had to ,,,I looked at the manual the sleep cmd 
>> hasn't apparently changed
> 
> Does Rexx have a SLEEP instruction?  I didn't know that.  And I find none
> in:
>    Title: z/OS V1R13.0 TSO/E REXX Reference
>    Document Number: SA22-7790-10
> 
> But, in Rexx, "address SYSCALL "sleep nn'" might be an even leaner interface.
> 
> -- gil
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to