Purpose: The MESSAGE command is used to modify information associated
with internal messages. This command gives an installation control over routing and return
codes, message levels, and carriage control information associated with each message.
Syntax:
MESSAGE {msgid} {bitfld} {ON | OFF}
MESSAGE {msgid} {chrfld} {value}
MESSAGE {msgid} {hexfld} {value}
MESSAGE {msgid} {numfld} {value}
Synonym: MSG
Comments: The MESSAGE command can control many of the parameters
available to the message processing facility. Under normal conditions, this command might be
used to modify the message level associated with a message. For more complex modifications,
you may wish to contact the technical support staff.
Normally, the MESSAGE command processes only the msgid
specified on the command, but the command can update multiple messages by using the wildcard
characters: the asterisk (*) and question mark (?).
- The asterisk (
*) stands for any sequence of characters. - The question mark (
?) stands for any single character in the position.
PRODUCT command before the MESSAGE command
can be used to modify messages related to the product. Also, if the product is stopped and
restarted, the modifications must be reapplied.
Bit fields (bitfld): The value specified for this form
of the command is the character string ON or OFF.
- IDD: Inhibit DD write
- IMID: Inhibit message ID display
- IPRINT: Inhibit PRINT
- ISMF: Inhibit write to SMF
- IUSERID: Inhibit write to Userid
- IWTO: Inhibit WTO
- ODD: Only DD output allowed
- OPRINT: Only PRINT output allowed
- OSMF: Only SMF output allowed
- OUSERID: Only output to Userid
Character fields (chrfld): The value specified for this form of the command is a character string.
- CC: Carriage Control character
- LEVELC: Message level character. Warning: The following characters cannot be used:
@,%, or#. - LEVELS: Message level separator character (
-).Warning: The following characters cannot be used:@,%, or#. - DD: DDNAME used for a copy of the message
- MSGID: The message ID of the message
- USERID: TSO userid to receive a copy of the message
Hexadecimal fields (hexfld): The value specified for this form of the command is a character string of hexadecimal data.
- MTYPE: Internal message flags
- WTODC: WTO message descriptor codes
- WTORC: WTO message routing codes
Decimal fields (numfld): The value specified for this form of the command is a numeric field.
| LEVEL | Message level:* | 0 |
| Information | 4 |
|
| Warning | 8 |
|
| Action | 12 |
|
| Error | 16 |
|
| Catastrophic | 20 |
- RC: Return code associated with a message
- SMFRID: SMF record identifier
Examples: The following MESSAGE command can be used to modify the
message level associated with the DIF00602 message.
F DIF,MESSAGE DIF00602 LEVEL 12