Use the WTO() function to issue the specified text as a WTO.
The WTO() function has this syntax:
msgid = WTO(text,[rout],[desc],[cons])
The WTO() function takes these arguments:
Unique message ID assigned by the operating system. Can be used with the DOM() function to delete messages no longer needed. If the WTO fails, error information is returned.
Text to appear on the operator's console as a WTO.
One or more routing codes (like '1' or '1,2,3' or '1-5,8,10,15-128'). For information on routing codes, see the IBM manual Supervisor Services and Macro Instruction.
One or more descriptor codes (like '1' or '1,2,3' or '1-5,8,10,12-16'). For information on descriptor codes, see the IBM manual Supervisor Services and Macro Instructions.
Number of console to receive message. If the IMOD is running as the result of an operator command, the predefined variable imod_console contains the console ID of the console issuing the command.
The WTO() function produces these return codes:
ARG n MISSING OR INVALID
Example
msgid = wto('operator message',2,2) == '' /* Master console and
highlight */
x = dom(msgid) /* Delete the message */
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |