SAVEFREQ

The syntax for this command is as follows:

SAVEFREQ [{nn}]

System and Report state information tables are regularly saved to a file on the disk during the generate process by using the CPARRAY (checkpointarray) feature. To ensure that the file is not accidently removed, it is protected by the LOCKEDFILE attribute. This attribute is reset/set around the CHECKPOINTARRAY call and is handled by a small zipped job that performs an ALTER of the LOCKDFILE attribute. As such, you will have a CONTROLCARD task associated with the saving of the file.

Use this command to display or set the frequency at which to save CPARRAY information for Report generates.

The frequency is the number of Report compiles per save CPARRAY state. This impacts Report generate recovery as potentially nn-1 Reports might be unnecessarily recompiled during a Report generate restart. This must be balanced against the overhead of performing saves of CPARRAY too frequently.

The minimum value you can set is 1. The maximum value is 120. By default, the value is 5.

System generate restarts have fixed save CPARRAY stages and do not utilize this parameter.

Refer to SAVETIME for additional save CPARRAY information.