Previous Topic: Console and Console-Like CommandsNext Topic: Dynamic System Tables


DBUTLTY

The new DBUTLTY VERINDEX function ensures the integrity of the CA Datacom/DB data rows and their corresponding keys in the index. This function is designed to use when you question the integrity of the index with the data, but the table cannot be taken offline. VERINDEX executes while the table is open for processing.

Note: For more information, see the CA Datacom/DB DBUTLTY Reference Guide.

DBUTLTY Functionality Provided for Online Reorganization Capabilities

The following are new DBUTLTY functions have been provided as part of the new online reorganization process. The online reorganization process is covered within the larger data reorganization discussion in the CA Datacom/DB Data Reorganization Green Book which can be found at:

www.ca.com/greenbooks

DATANE Native Efficiency Report

The main function of the Native Efficiency Report (NER) is to build a simple report that shows the sequential access efficiency for a given data table. You can use this report to analyze the sequential effectiveness (native key order) of a data table and whether data reorganization is needed.

The NER requires the MUF to be up and the selected data table to be available for processing. The NER uses highly efficient read-only index commands to limit the effect on other processing in the MUF.

For detailed instructions about executing the DBUTLTY DATANE function, see Appendix A: Implementing and Using DBUTLTY REPORT=DATANE in the CA Datacom/DB Data Reorganization Green Book.

DATASP Data Area Space Report

The main function of the Data Area Space Report (DATASP) is to build a simple report that shows the detailed space usage in a selected data area. This space usage provides insight into the number of rows per block, bytes per block, compression efficiency and so on. The DATASP report provides a simple data area map that can help you determine:

The DATASP runs outside of the MUF and does not require that the MUF availabity. The DATASP report uses a highly efficient I/O process that has no effect on the MUF processing.

For detailed instructions about executing the DBUTLTY DATASP function, see Appendix B: Implementing and Using DBUTLTY REPORT=DATASP in the CA Datacom/DB Data Reorganization Green Book.

OLREORG Online Data Table Reorganization

The online reorganization (OLREORG) function was introduced as part of DBUTLTY in CA Datacom/DB. This function uses a patented process to reorder the table rows within the selected table into improved native key order. This improved native key order enhances the efficiency of applications that must access the data table in native key sequence.

OLREORG runs within the MUF while the data table is open for user access. This allows you to improve the sequential efficiency of the data without taking the data table offline.

Restart/recovery fully protects OLREORG within the MUF. Therefore, you can cancel the OLREORG process at any time and the amount of completed work is kept. Similarly, any MUF abend or LPAR failure terminates the OLREORG, but the reordering work that is done in the data table is kept.

You can implement the OLREORG process with three different modes:

For detailed instructions about executing the DBUTLTY OLREORG function, see the CA Datacom/DB Data Reorganization Green Book.

Data Space Option 4 - Random Reuse for OLREORG

To support the use of empty blocks during the OLREORG reference group reorganizations, the data area must have its data space option set to DSOP=4 (or DSOP=5).

DSOP=4 provides the same data space reuse functionality as DSOP=1. Additionally, DSOP=4 creates and maintains an empty data block map that is used for the OLREORG processing.

For detailed information about the DSOP=4 setting, see the CA Datacom/DB Data Reorganization Green Book.

Data Space Option 5 - Sequential Reuse for OLREORG

To support the use of empty blocks during the OLREORG reference group reorganizations, the data area must have its data space option set to DSOP=5 (or DSOP=4).

DSOP=5 provides the same data space reuse functionality as DSOP=2. Additionally, DSOP=5 creates and maintains an empty data block map that the OLREORG processing uses.

For more detailed information about the DSOP=5 setting, see the CA Datacom/DB Data Reorganization Green Book.