Previous Topic: Suggested Uses of &WTO

Next Topic: Recommendations for Using &WTOR

&WTOR NCL Statement

The &WTOR NCL statement provides a direct interface to the WTOR macro or SVC.

When &WTOR is executed, the NCL procedure is suspended until a reply to the WTOR is received or until an optional WAIT time (in seconds) has expired (the WTOR is canceled in this case). If the NCL procedure is flushed, the WTOR is also canceled.

Options on &WTOR allow the setting of routing codes, some MCS FLAG values, and delivery of the message to a specific console.

Other options allow the setting of a maximum reply length and an indication of how the reply is to be returned. It can be broken into words, nominated variables, or as a string in &1.