Stopping alter processing before completion

You can stop alter processing of a HALDB database before it is complete by issuing the TERMINATE OLREORG command.

You can issue either the type-1 or type-2 version of the TERMINATE OLREORG command; however, only the type-2 version of the command can be issued to multiple IMS systems. The type-1 command is processed by only the local IMS system on which it is issued.

The TERMINATE OLREORG command does not support the specification of the name of a HALDB master database. To stop alter processing for the entire HALDB database, you specify a wildcard character in place of the partition names or you can specify the names of all of the partitions in the database explicitly. If multiple IMS systems are altering the database, you must use the type-2 TERMINATE OLREORG command to stop all of the IMS systems at once or issue the type-1 command separately on each IMS system.

When alter processing is stopped for a subset of the partitions in the database, alter processing continues for the other partitions that are not contained within the specified subset.

When alter processing is stopped, the data in the partition might be physically stored in both the input and output data sets. The output data sets conform to the altered database structure. The input data sets conform to the old database structure. However, where the data is physically stored is not apparent to application programs. Until alter processing completes and online change is performed, application programs can access the data only in the old database structure.

Until all of the partitions in the HALDB database are altered and online change is performed, only application programs that use the unaltered database structure can access the database.