Controlling the format of messages
On a display console, a message can appear by itself or with information
about the message, such as job and system identification and the time
the message was issued. Messages sent to display consoles describes
the format of messages and describes the optional information that
the system can include with each message:
- J
- The jobname/job id of its issuer
- S
- The name of the system that issued the message
- T
- A time stamp
- M
- Only the message text displays
- X
- Suppress system and job name of its issuer when S and/or J are specified
You request that additional information precede
each message the system sends a console by:
- Using the CONTROL command:
Use the MFORM operand on the CONTROL S command to change the format of messages.
Example:
To request that the system add to all messages that appear at console CON2 a time stamp, the name of the system that issued the message, and the jobname or ID of its issuer, enter:CONTROL S,MFORM=(J,T,S),L=CON2
In console services shared mode, the effect of this command lasts for the duration of the IPL; in distributed mode, the effect of the command lasts only for the duration of the console being active.