TSO Sleep 
Author Message
 TSO Sleep

--- Received from STLCMEMO.BCURRAN  EXT 4664        95-06-14 14.44
  -> IBMMAIL.INTERNET      IBM Mail Exchange

On : Wed, 14 Jun 1995 15:09:32 GMT

Quote:
> Subject:      TSO sleep
> Is there a 'SysSleep' \ 'Sleep' equivalant within TSO REXX.
>If not, can anyone suggest a non CPU intensive method to simulate a sleep.

The following will do a real MVS "Sleep". It can be used batch or called fr
Rexx. I got this from the CBT Tape somewhere.

*----------------------------------------------------------------------
*        THIS PROGRAM WILL WAIT FOR THE AMOUNT OF TIME REQUESTED IN THE
*        PARM FIELD OF THE EXEC CARD, OR IF NO PARM IS PRESENT, IT WILL
*        WAIT 1 MINUTE, AND THEN RETURN.
*
*        EXEC  PGM=SYSWAIT,PARM='HHMMSS'
*
*----------------------------------------------------------------------
SYSWAIT  #SLC R12
         L    R1,0(R1)          ADDR OF PARM
         XR   R2,R2             CLEAR
         ICM  R2,3,0(R1)        PARM LENGTH
         BZ   DEFAULT           NO PARM, USE DEFAULT
         MVC  TIME(6),2(R1)     MOVE PARM TO TIME FIELD
DEFAULT  EQU  *
         STIMER WAIT,DINTVL=TIME  WAIT REQUESTED LENGTH OF TIME
         LA    R15,0
         #RTN
         DS   0D  HHMMSSTH
TIME     DC   CL8'00010000'     DEFAULT OF 1 MINUTE
         END
*----------------------------------------------------------------------
--- Received from STLCMEMO.BCURRAN  EXT 4664        95-06-14 12.36
/INTERNET

/REPORT
/ENDINTERNET
LISTS
  -> IBMMAIL.INTERNET      IBM Mail Exchange



Sun, 30 Nov 1997 03:00:00 GMT  
 TSO Sleep
--- Received from STLCMEMO.BCURRAN  EXT 4664        95-06-14 15.26
  -> IBMMAIL.INTERNET      IBM Mail Exchange
--- Received from STLCMEMO.BCURRAN  EXT 4664        95-06-14 14.44
  -> IBMMAIL.INTERNET      IBM Mail Exchange

On : Wed, 14 Jun 1995 15:09:32 GMT

Quote:
> Subject:      TSO sleep
> Is there a 'SysSleep' \ 'Sleep' equivalant within TSO REXX.
>If not, can anyone suggest a non CPU intensive method to simulate a sleep.

My apologies for not including the #SLC and #RTN ASM macros. These are
fairly standard start (including reg assigns) and return macros. Send me an
e-request personally if you need them. I will post if enough requests, but
I don't think it will be required.

At your service,

Bill Curran                         Operations, Research and Tech Support
Stelco Inc.                         Operating Systems and Product Support
(905)528-2511 X4664 *Aspen Voice                    P.O Box 2030


                                                    L8N 3T1



Sun, 30 Nov 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. TSO sleep

2. TSO REXX - timed wait/sleep routine?

3. SLEEP: Can I put a php program to sleep for hours or even days?

4. (sleep 4) in Lucid on a Sun sleeps 4000000 seconds?!

5. User interface under TSO (was Re: Detecting TSO SM ...)

6. sleeping with the enemy? J2EE and .NET

7. Processor sleep in the UI

8. DLLANDC and zooming past sleep()

9. Script for putting computer to sleep

10. Sleep n milliseconds

11. AWK - sleep() or wait() ??

12. Sleep inside realbasic

 

 
Powered by phpBB® Forum Software