CHANGE ALL, automatic saving and retry

On the VSAM Edit Sharing Options panel, there are three options that relate specifically to the CHANGE command when used with the ALL operand:
  • SAVE before starting
  • Change all autosave frequency
  • Auto retry for CHANGE ALL

In a similar way to the Autosave frequency option, these options allow the change process to count the number of changes made and perform a periodic SAVE of the file being changed. In addition, the Auto retry for CHANGE ALL option is useful for retrying changes to records which encountered an integrity check at the time of the automatic save during the CHANGE command process.

When you select the CHANGE ALL autosave frequency option, it is highly recommended that you specify a frequency and also select the Auto retry for CHANGE ALL option in order to gain the most benefit from these two features.

For the CHANGE ALL autosave frequency option, changes are counted for each record that is changed.

You can also change the setting of the CHANGE ALL autosave frequency option and the Auto retry for CHANGE ALL option with the CHGASAVE and AUTORTRY primary commands respectively.

When you use these options, be aware that:
  • Other changes (such as overtyped records), made before the start of the CHANGE ALL command, are saved either before the CHANGE command commences processing if the SAVE before starting option is ON, or at the time of the first automatic save at the CHANGE ALL autosave frequency if the SAVE before starting option is OFF.
  • Any changes outstanding at the completion of the CHANGE ALL command are saved, regardless of the current change count.
  • All records are refreshed at the completion of the CHANGE ALL command.

Related topics