Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

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

-msg

Text to write to the z/OS operator console. The text is written as a single-line WTO or WTOR message.

-reply

Directs Universal WTO to issue a WTOR message and wait for an operator reply to the message.

-timeout

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

Universal Write-to-Operator

  • No labels