WAITREQ
WAITREQ
WAITREQ is used only in REXX servers causing the server to wait for a request. After a request is
received, it is placed into REXX variable REQUEST.
Return Codes
0 Normal return
3121 WAITREQ not enabled
3122 Exec not a server
3123 Error saving request variable
3199 Internal error
Note: The return code reflected to the client program is the value of the REXX server variable at entry to
the WAITREQ command or at exit of the server exec.
Example
'WAITREQ'
This example causes the server exec to be suspended until another request for the server is encountered.
When the request is encountered the server exec is restored to its presuspended status with a new
request value.
Commands
376
CICS TS for VSE/ESA: REXX Guide