Here's a variation that works for me:

ADDRESS TSO  "BPXBATCH sh sleep 30"   

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Peter Nuttall
Sent: Tuesday, May 18, 2010 4:42 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Time Parameter

To my knowledge there are two ways in rexx to "sleep" :

/* REXX */ 
/* 
How to make rexx wait for 5 seconds .... 
ILBOWAT0 is an LE supplied program 
*/ 
  X=5 
  PARM=D2C(X,4) 
  ADDRESS LINKPGM "ILBOWAT0 PARM" 
/* 
Alternatively you can use a USS program as follows 
*/ 
  bpxbatch "pgm /bin/sleep 5s" 

They both work .... Whichever is the best performer, however, I have no 
clue .... 
 
 
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

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

Reply via email to