Issue WTO Message to z/OS Console and Wait for Reply
The following illustrates the issuing of a WTOR message to the z/OS console.
A reply is required.
uwto -msg "This message is written to the Console" -reply yes -timeout 120
The message text "This message is written to the Console" will be written to the default z/OS consoles.
The process will wait 120 seconds for a required reply. If a reply is not received within this time, the WTOR message is deleted and Universal WTO ends with exit code 2. The reply length is limited to 119 characters. The reply is written to UWTO's standard output file.
Note
A valid operator reply to a WTOR message can be zero characters. In this case, nothing is written to stdout.
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
---|---|
Text to write to the z/OS operator console. The text is written as a single-line WTO or WTOR message. | |
Directs Universal WTO to issue a WTOR message and wait for an operator reply to the message. | |
Number of seconds to wait for a WTOR operator reply. If a reply is not received within this time, the WTOR message is deleted and UWTO ends with exit code 2. Default is 0 (wait indefinitely). |
Components