HLASM Toolkit Feature Interactive Debug Facility User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


MSGMODE

HLASM Toolkit Feature Interactive Debug Facility User's Guide
GC26-8709-07

Controls the display of messages during macro execution.
Read syntax diagramSkip visual syntax diagram
>>-MSGMode--+-ON--+--------------------------------------------><
            '-OFF-'   

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

Since this is one of the settings which is saved in the status stack, a useful sequence within a macro is:
'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

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014