Previous Topic: SESSLIST CommandNext Topic: WTOH Command


WTO Command

The WTO command displays a text string in the normal message area of the AP Merged Messages window and in the Normal Message Recall window.

This command has the following format:

"WTO 'text'"
text

Specifies the text (up to 251 characters) to be displayed. The text must be enclosed in single quotation marks ('); if the text contains embedded single quotes, use one of the alternate delimiters described in ADDRESS AXC Command Syntax in this chapter.

Example:

By using the WTO command to send messages to the Normal Message Recall window or the Merged Messages window, you can notify operators of important events as they occur. For example, you may include this statement in a REXX program:

"WTO 'REXX finished processing'"

When the statement executes, this message appears in the normal (non-highlighted) message area of the Merged Messages window:

REXX finished processing