Other methods to avoid rebuilding access paths

If you do not journal your access paths or do not take advantage of system-managed access-path protection (SMAPP), consider other system functions that reduce the chances of rebuilding access paths.

The system uses a file synchronization indicator to determine if an access path needs to be rebuilt. Normally, the synchronization indicator is on, indicating the synchronization of the access path and its associated data. When a job changes a file that affects an access path, the system turns off the synchronization indicator in the file. If the system ends abnormally, it must rebuild any access path whose file has its synchronization indicator off.

You need to periodically synchronize the data with its access path to reduce the number of access paths you must rebuild. There are several methods to synchronize a file with its access path:

Performing one of the methods mentioned previously synchronizes the access path and the data. However, the next change to the data in the file can turn the synchronization indicator off again.

Note that each of the methods can be costly in terms of performance; therefore, use them with caution. Consider journaling access paths along with saving access paths or using SMAPP as the primary means of protecting access paths.