CHGASAVE primary command

The CHGASAVE primary command alters the current setting of the CHANGE ALL autosave frequency option.

This setting is usually set by means of the VSAM Edit sharing options from the options menu or options pulldown.

Syntax

Read syntax diagramSkip visual syntax diagram
                      (1)     
             .-ON/OFF-----.   
>>-CHGASAVE--+------------+------------------------------------><
             +-OFF--------+   
             +-ON---------+   
             '-nnnn-------'   

Notes:
  1. If no parameter is specified: if the current setting is ON (a value exists), acts as if OFF as been specified; if the current setting is OFF, acts as if ON has been specified.
OFF
Saves the value of the current CHANGE ALL autosave frequency and then sets the frequency to zero, disabling the feature.
ON
Makes the previously used CHANGE ALL autosave frequency (or the value 1 if no previous CHANGE ALL autosave frequency value exists) the current CHANGE ALL autosave frequency, enabling the feature.
nnnnnn
Sets the current CHANGE ALL autosave frequency to nnnnnn. To disable the feature, specify the value 0. nnnnnn can be in the range 0–999999.

Availability

Related tasks and examples