Cleanup and recovery of data store data sets
The data store component is equipped with a set of utilities that can be executed in batch mode only when the data store is not running.
An exception is made only for the cleanup utility, which can run also as a subtask of the data store. In this case, called 'online mode', the utility will run on a periodic basis, and delete selected records from the database. It is highly recommended that this mode is used, to ensure a regular cleanup of old SYSOUT records and to keep the database at a reasonable size. See below for a full discussion of the cleanup subtask.
Each batch utility is activated by a separate keyword of the DSTUTIL command, as described below.
- cleanup
- command DELUNSTR command DELSTRUC command DELBOTH
- export
- command EXPUNSTR command EXPSTRUC command EXPBOTH
- import
- command IMPORT
- recover primary index
- command RECOVER
- recover secondary index
- is obtained starting from the recover file of the primary index
For both primary and secondary index another utility, the reorg, can be obtained by combining an export and an import utility.