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


AUTOLIST—Set or Query Autolist Mode

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

The AUTOLIST macro command sets autolist mode, which controls the automatic printing of data to the ISPF list data set.

The AUTOLIST assignment statement either sets autolist mode or retrieves the current setting of autolist mode and places it in a variable.

Autolist mode is saved in the edit profile.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

                      .-ON--.   
>>-ISREDIT--AUTOLIST--+-----+----------------------------------><
                      '-OFF-'   

ON
Specifies that when you end an edit session and save changed data, the editor generates a source listing in the ISPF list data set for eventual printing.
OFF
Does not generate a source listing.
Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

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

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

varname
The name of a variable that contains the setting of autolist mode, either ON or OFF.
ON
Same as macro command syntax.
OFF
Same as macro command syntax.

Return codes

0
Normal completion
20
Severe error

Examples

To turn autolist mode on:
ISREDIT AUTOLIST ON
or
ISREDIT AUTOLIST = ON
To turn autolist mode off:
ISREDIT AUTOLIST OFF
or
ISREDIT AUTOLIST = OFF

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014