RECORDCOUNT Option

The RECORDCOUNT option enables you to collect the number of records in the structure without locking the global structure of the database. This option is only valid for a disjoint dataset and set. A reorganization program is required to perform when changed from reset to set. However, it only requires performing a DMCONTROL UPDATE operation to disable the option. For additional information about the DMCONTROL operation and its UPDATE option, refer to the Enterprise Database Server Utilities Operations Guide.

The RECORDCOUNT information is stored in the control file under each structure and can be retrieved through the DMUTILITY LIST/WRITE command.

 Caution

The RECORDCOUNT option is not valid while a structure is being reorganized. Additionally, for a Remote Database Backup secondary database, the option is not valid for a reorganized structure until Tracker completes application of the reorganization and displays a message stating, “RESTART POINT CREATED AFTER SUCCESSFULLY TRACKING THRU A REORG REGION.”