Running a Health Check
The Health Check is a function provided by the IMS Recovery Solution Pack Database Recovery Facility: Extended Functions (DRF/XF). It is used to identify databases that indicate problems in the RECON data sets that might make them unrecoverable.
Health Check can be run from three different locations within the IMS Recovery Expert ISPF interface:
- From the System Level Backup Display, by selecting a system level backup with the H line command.
- During the Disaster Recovery preparation job, when the Disaster Recovery profile indicates that Health Check should be run.
- From the Application Profile, by selecting a profile with the H line command.
For Health Check to run, the DRF/XF library must be specified in the BSYV220 CLIST using the IMSTOOL1, IMSTOOL2, or IMSTOOL3 variable. If this is not done, Health Check will not be available.
When executing Health Check from the System Level Backup or Application Profile display, the JCL build panel will include the Edit Health Check Options option. Specifying Y on this line will display the current Health Check options, which you can change. From the Disaster Recovery Profile, specify U for the Run Health Check option to get to this panel.
When the panels are displayed, you can individually select the options that you want to execute, as well as any time or range parameters that are required for those options. These setting are saved in your ISPF profile so that they are remembered. If you do not change these options, a default set of options is used.
Some of the Health Check options require a parameter to specify the timeframe for which to perform the health check. This parameter can be specified in one of three formats:
- DAYS – The number of days from the current time backward to check. The DAYS value can be any number from 1-999.
- HOURS – The number of hours from the current time backward to check. The HOURS value can be any number from 1-999.
- RANGE – A range of time during which to perform the check. The RANGE consists of four
different parts:
- timestamp – Any valid timestamp in the format accepted by DBRC.
- direction – Whether to check back or forward in time from the specified timestamp.
- amount – How far back or forward to check.
- scale – The scale associated with the amount. This might be ‘SECS’ for seconds, ‘MINS’ for minutes, ‘HRS’ for hours, or ‘DAYS’ for days.
For options that require a timeframe, select the type you want to use, and then specify the required values. Only one timeframe type can be selected for a given option.
The Health Check Report Options panels are shown in the following examples, followed by a description of the options.
The following Health Check options can be executed. For additional information, refer to the IMS Recovery Solution Pack: IMS Database Recovery Facility Extended Functions User's Guide.
- DBs for which no ICs exist
- This option checks for databases that either have no ICs available or no ICs available within the specified timeframe. If you do not select a timeframe, then the entire RECON is checked for the existence of an IC for the database. If a timeframe is selected, then only that timeframe is processed.
- DBs for which no batch ICs exist
- This option checks for databases that have no batch ICs within the specified timeframe. A timeframe specification is required.
- DBs for which no online ICS exist
- This option checks for databases that have no online ICs within the specified timeframe. A timeframe specification is required.
- DBs for which ICs are needed
- This option checks for DBs for which ICs are needed.
- DBs for which ICs are recommended
- This option checks for DBs for which ICs are recommended.
- DBs not in a CA group
- This option checks for DBs that are not in a change accumulation group.
- CA groups with no valid CAs
- This option checks for change accumulation groups with no valid CAs within the specified timeframe. A timeframe specification is required.
- HALDBs with disabled partitions
- This option checks for HALDBs that have disabled partitions.
- HALDBs with non-init partitions
- This option checks for HALDBs that have partitions that are not initialized.
- DEDBs that have EEQEs
- This option checks for DEDBs that have outstanding error queue elements (EEQEs).
- DEDBs with no area data sets defined
- This option checks for DEDBs that do not have any area data sets defined.
- DEDBs with no area data sets avail
- This option checks for DEDBs that do not have any area data sets marked as available.
- DBs that have backout needed
- This option checks for databases that have the BACKOUT NEEDED flag on.
- DBs with PROHIBIT AUTH on
- This option checks for databases that have the PROHIBIT AUTH flag on.
- IC1 with no IC2
- This option checks for databases that have an image copy 1, but no image copy 2 within the specified timeframe. A timeframe specification is required.
- Minimum CAs not available for a DB
- This option checks for change accumulation groups that do not have the minimum number of change accumulation records. The minimum number to use must be specified.
- PRILOGs with no SECLOG
- This option checks for any PRILOG records that do not have a corresponding SECLOG record.
- PRISLDS with no SECSLDS
- This option checks for any PRISLDS records that do not have a corresponding SECSLDS record.
- Verify recovery assets are catalogued
- This option checks to make sure that any recovery assets that might be needed to recover the database are catalogued.