MSGCTL parameter

From m204wiki
Revision as of 15:17, 19 April 2013 by Dme (talk | contribs) (Undo revision 56894 by DmeWiccan (talk))
Jump to navigation Jump to search

Summary

Default value
0
Parameter type
System
Where set
On User 0's parameter line.
Related products
All
Introduced
Model 204 V6.1 or earlier

Description

The type of display of message prefixes and error and informational messages on the user's terminal

Valid settings of MSGCTL options, which can be summed, are:

SettingMeaning
0Enable display of messages.
1Suppress display of message prefixes and numbers associated with all messages.
2Suppress display of informational messages.
4Suppress display of error messages.

Settings of 0, 2, and 4 affect the display of the messages on the user's terminal. A setting of 1 affects both the display of messages on the terminal and the writing of messages to the audit trail.

How the DEBUGUL parameter can override the MSGCTL parameter

If you have set the MSGCTL parameter to a value that suppresses the message, and set the DEBUGUL parameter to a value where the X'10' bit is on, then the DEBUGUL parameter setting forces the message to the terminal, even though the MSGCTL parameter setting says not to.

How the MSGCTL command can override both the MSGCTL and DEBUGUL parameters

If you use the MSGCTL command, and suppress the display of a message by using the NOTERM keyword, then no matter how the MSGCTL or DEBUGUL parameters are set, the message does not go to the terminal. Conversely, if you want messages displayed at the terminal, enter MSGCTL command using the following syntax:

MSGCTL {M204 | USER}.msg-number TERM

Where:

M204 or USER specifies either Model 204 or User defined message, respectively

Msg-number is the 4-digit number of the message.

TERM displays the specified error message on the user's terminal, when appropriate.