MSGMODE
- ON
- Enable the display of all messages.
This is the initial setting.
- OFF
- Disable the display of specific messages.
The message filtering is dependent on the message severity level. Only I (Informational), W (Warning) and E (Error) messages are suppressed by MSGMODE OFF. All other types of messages are not affected.
When some IDF commands are issued through PF keys, or a command typed on the Command window command line, appropriate status and informational messages are displayed.
During the execution of a macro, these messages may become rather lengthy, hence this command to give you control.
When macro execution is complete, the MSGMODE setting is returned to the default ON value.
The most recent 10 messages, including those suppressed by MSGMODE OFF, may be retrieved with the EXTRACT LASTMSG command. See LASTMSG for details.
The QUIETLY prefix command may be used to override the current MSGMODE setting, and suppress messages (as if MSGMODE was OFF) for the invocation of a single command. See QUIETLY for details.
Examples
'PRESERVE' /* Save current settings in stack */
'MSGMODE OFF' /* No messages displayed */
⋮ /* Quietly perform macro functions */
'RESTORE' /* Restore settings, including MSGMODE */
Return codes
- 0
- Operation successful
- 1
- Missing keyword
- 2
- Keyword truncated
- 3
- Keyword unknown