Open topic with navigation

TIBCO® Managed File Transfer Platform Server for z/OS 8.1.0

# WTOR

By using this function, you can display a message on the Operator Console and wait for a reply. The message to be displayed must be imbedded in double quotation marks. Variable substitution is performed for the message in double quotation marks.

The variable %WTORLENGTH defines the maximum number of bytes that the console operator can enter in response to the WTOR command. When the WTOR function is completed, the following fields are updated:

- %WTORDATA: Contains the data entered by the console operator.
- %WTORLENGTH: Contains the length of data entered by the console operator.

The format of this function is `WTOR "message_to_be_displayed"`. For example, use the following commands to display a message and wait for a one-byte response:

    SET %WTORLENGTH = 1
    WTOR “MESSAGE1 SEND to node %NODE failed: Reply Y to continue”
    SAY Reply Length=%WTORLENGTH: Reply Data=%WTORDATA

Copyright © 2003-2021. TIBCO Software Inc. All Rights Reserved.