Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
AUTOSAVE—Set or Query Autosave Mode z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The AUTOSAVE macro command sets autosave mode, which controls whether changed data is saved when you issue the END command. The AUTOSAVE assignment statement either sets autosave mode, or retrieves the current setting of autosave mode and places it in variables. SyntaxMacro command syntax .-ON----------------. >>-ISREDIT--AUTOSAVE--+-------------------+-------------------->< +-PROMPT------------+ | .-PROMPT---. | '-OFF--+----------+-' '-NOPROMPT-'
Assignment statement syntax >>-ISREDIT--(var1,var2)-- = --AUTOLIST------------------------->< .-ON----------------. >>-ISREDIT--AUTOSAVE-- = --+-------------------+--------------->< +-PROMPT------------+ | .-PROMPT---. | '-OFF--+----------+-' '-NOPROMPT-'
DescriptionData is considered changed if you have operated on it in any way that could cause a change. Shifting a blank line or changing a name to the same name does not actually alter the data, but the editor considers this data changed. When you enter SAVE, the editor resets the change status. Autosave mode, along with the PROMPT operand, is saved in the edit profile. See the DATA_CHANGED, CANCEL, and END macro commands, and the CANCEL and END primary commands for more information on saving data. Return codes
ExamplesTo turn autosave mode on:
or
To turn autosave
mode off and have the editor prompt you to use the SAVE or CANCEL
command:
or
To
turn autosave mode off and not have the editor prompt you to use SAVE
or CANCEL:
or
|
Copyright IBM Corporation 1990, 2014
|