This function issues the specified text as a WTO.
msgid = WTO(text,[rout],[desc],[cons])
Parameters
A unique message ID assigned by the operating system. Can be used with the DOM() function to delete messages that are no longer needed. If the WTO fails, error information is returned.
Text to appear on the console of the operator as a WTO.
One or more routing codes (like '1' or '1,2,3' or '1-5,8,10,15-128'). For information about routing codes, see the IBM guide 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 about descriptor codes, see the IBM guide Supervisor Services and Macro Instructions.
The number of consoles to receive a 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.
ARG n MISSING OR INVALID
Example
msgid = wto('operator message',2,2) == '' /* Master console and highlight */ x = dom(msgid) /* Delete the message */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|