Send message to operator terminal
Component: | BS2000 |
Functional area: | Job processing |
Domain: | JOB |
Privileges: | STD-PROCESSING |
Function
The INFORM-OPERATOR command sends a message to the operator terminal. The message is by default sent to the recipient defined by the MSGDEST system parameter.
If the message text starts with the “<“ character, the next character is checked. If this character is a valid authorization code (no distinction is made between uppercase/lowercase) then the message is sent to all the terminals to which this authorization code is assigned. If the next character is not defined as an authorization code, the message is also sent in accordance with the MSGDEST system parameter.
The user can also request a response from the operator (WAIT-RESPONSE operand). The task is put on hold until the response arrives.
Format
INFORM-OPERATOR |
MSG = <c-string 1..230 with-low> ,WAIT-RESPONSE = *NO / *YES |
Operands
MSG = <c-string 1..230 with-low>
Text of the message which is to be sent to the operator terminal.
If the first character in the message is the character “<”, the next character is interpreted as a routing code to which the message is to be sent.
WAIT-RESPONSE = *NO / *YES
Specifies whether the task is to wait for a response from the operator.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No errors | |
64 | EXC0090 | Out of space |