z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


MACRO_MSG—Set or Query the Macro Message switch

z/OS ISPF Edit and Edit Macros
SC19-3621-00

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.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --MACRO_MSG--------------------------><

Read syntax diagramSkip visual syntax diagram
                            .-ON--.   
>>-ISREDIT--MACRO_MSG-- = --+-----+----------------------------><
                            '-OFF-'   

varname
The name of a variable containing the setting of MACRO_MSG.
ON
ISPF messages generated by macro commands are formatted.
OFF
ISPF messages are not formatted.

Description

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.

Return codes

0
Normal completion
20
Severe error

Examples

To set macro_MSG:
ISREDIT MACRO_MSG = ON

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014