Generating that Causes Update or Reorganization

When you perform a build that causes a reorganization of the database for your application, the COMSTP associated library programs are recompiled. Any impacted Reports need to be recompiled, along with your NOF, USER, and GLI programs if any <<Ispec>> classes formats have changed.

Retaining the Data in your Agile Business Suite Database

Reorganization enables you to change an existing application without destroying the data in your database. However, not all types of change are allowed.

For example, you cannot change a numeric attribute containing decimal places into an alphanumeric attribute. The types of changes allowed follow the standard DMS II rules for reorganization. Refer to the DMS II Data and Structure Definition Language Reference Manual for more information.

What Causes a Reorganization

The following actions cause a reorganization:

Note: If you change an <<Ispec>> class that is used in external Automatic Entries, you must also change and build any associated database (with the Retain Existing Database check box checked).

Avoiding Reorganization

If you add a new attribute to an <<Ispec>> class without database filler defined, reorganization of your database is performed.

To avoid this, you can reserve space in the database by using a database filler, so that reorganization need not occur. As you add new attributes, you use space in the database filler. Refer to Reserving Database Filler Space for more information.

Reorganization still occurs with a database filler:

Freeing Space in your Agile Business Suite Database

Reorganization of an <<Ispec>> class causes its tables to be rebuilt to reflect any changes, provides greater efficiency, and frees the space occupied by physically deleted records.

Deletion of records by the Purge logic command removes access to these records. This space can be used again by the same dataset, but cannot be released to your application for reallocation to other files. Release of space occurs when the structure is reorganized.

It is recommended that periodically, or after mass deletion of records from the database, you perform a garbage collection on your affected <<Ispec>> classes, by using the Database Management Utility (DMU). Refer to Database Management Utility (DMU) for more information about DMU.

Refer to the Enterprise Database Server for ClearPath MCP Utilities Operations Guide for more information on reorganization of databases.

DMS Activity during Reorganization

During regeneration, your DMS II software detects changes in datasets (or subsets, populations, and so on) and creates REORG DASDL and BUILDREORG DASDL parameter files to produce the correct series of reorganizations for your new database.

Refer to the Enterprise Database Server for ClearPath MCP Utilities Operations Guide for more information on reorganization of databases.