CXXMAINT (Maintain Directory)

Use the CXXMAINT function when you want to:
Use the CXXMAINT function when you want to:
  • Activate/deactivate a key for Compound Boolean Selection use
  • Set Directory (CXX) locking to single image or Sysplex
  • Alter the DSN specified in the Directory
  • Activate/deactivate logging
  • Convert the Directory to the current version
  • Update Directory definitions from 
    Datacom Datadictionary
  • Delete definitions that are no longer useful
  • Alter the space reclamation option
  • Identify that a specified database does not exist to minimize recovery
Each option is discussed separately in the following sections of this chapter.
 use the CXXMAINT DDPROD option for SQL accessible tables, on a database containing SQL accessible tables, or on databases containing partitioned tables. Use the 
Datacom Datadictionary
 CATALOG transaction instead.
The CXXMAINT function protects you from destructive Directory (CXX) modification. If you run the function while any task is active against the target databases, CXXMAINT terminates without performing any modification with the following exceptions. You can use the following CXXMAINT ALTER options with a database open in a MUF:
  • DSN
  • DSOP
You can also use CXXMAINT DELETE with a database open in a MUF as long as the specified table has no open User Requirements Tables. The ACCESS function can still be used, to prevent tasks from opening a database while you are running a CXXMAINT function. For more information, see ACCESS (Restricting Opens or Maintenance.
Frequent backups of the Directory are recommended. When a hardware failure or accidental destruction occurs, a current backup provides a quick method of restoring the Directory. If the backup is not current, much time can be lost in determining what maintenance transactions must be applied to bring the Directory up to date. See BACKUP CXX (Back Up Directory) for details.