MACRO_MSG—Set or Query the Macro Message switch
The MACRO_MSG assignment statement sets or retrieves the value of the macro_msg switch, which controls whether macro processing delivers ISPF messages to the macro.
- The name of a variable containing the setting of MACRO_MSG.
- ISPF messages generated by macro commands are formatted.
- ISPF messages are not formatted.
The MACRO_MSG assignment statement sets a switch for subsequent macro processing. When set ON, any message that is generated by a macro command is formatted and made available in variables in ZEDILMSG, ZEDISMSG, and ZEDMSGNO.
This is a diagnostic switch and should only be used to extract messages as required. Macros that perform operations on many edit lines may experience a performance degradation if this switch is ON.
- Normal completion
- Severe error
ISREDIT MACRO_MSG = ON