WTOR
The WTOR command requests input or response
from the z/OS® system operator.
Format
| Call Name | DB/DC | DBCTL | DCCTL | DB Batch | TM Batch |
|---|---|---|---|---|---|
| WTOR | X | X | X | X | X |
Usage
The message variable name is a REXX variable containing the text that will be displayed on the z/OS console. The operator's response is placed in the REXX variable signified by the response variable name.
Attention: This command hangs the IMS region in which it is running until the operator responds.
Example
This example
prompts the operator to enter
ROLL or CONT on
the z/OS master or alternate
console. Once the WTOR is answered, the response
is placed in the REXX variable
name response, and the EXEC will continue
and process the IF statement appropriately. Msg = 'Should I ROLL or Continue. Reply "ROLL" or "CONT"'
Address REXXIMS 'WTOR Msg Resp' /* Ask Operator */
If Resp = 'ROLL' Then /* Tell Programmer */
Address REXXTDLI 'ROLL' /* Roll Out of this */