Enable/Disable Index Override Option

PURPOSE:  INDEX OVERRIDE allows the use of a Data Index (DI) which appears to ACCENT R as obsolete.  A DI becomes obsolete when its Data Set (DS) is updated while the DI is inactive.  Normally, the DI is reformed (updated) automatically the next time it is used.  ACCENT R will not allow the obsolete DI to be used unless the OVERRIDE option is ENABLEd.  Unless the STATIC option is specified in the index definition, the index is normally FORMed automatically.  To force ACCENT R to use the index without reforming, you must ENABLE INDEX OVERRIDE.

This command is valid only in a CM, SF and as a direct command.  It is not valid in a PM.

SYNTAX

{ENABLE; DISABLE} INDEX OVERRIDE [{IF; UNLESS} clause]

ENABLE

allows the use of an obsolete DI.

DISABLE

allows normal operation which prohibits the use of obsolete DI’s (unless the OVERRIDE option is used in a DI STATIC statement).  This is the default state.

{IF; UNLESS} clause

specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect.

NOTES:  If INDEX OVERRIDE is ENABLEd, it will override the STATIC option of the DI and use the index as is.  If INDEX OVERRIDE is DISABLEd, the STATIC statement will cause the command or PM using the index to abort if the DI appears to be obsolete.

SEE ALSO:  The INDEX statement in the Data Index definition (INDEX /IS/ STATIC [OVERRIDE])