CHK PINDEX


PCP can validate the HIDAM root key against the primary index key if the HIDAM root key is not compressed.

How PCP performs this validation depends on the pointer checking technique in use:

  • Under the Hash Checking technique, PCP validates that the hash total of the HIDAM root keys matches the hash total of the primary index keys.
  • Under the Full Checking technique, PCP validates that the key and the RBA of the HIDAM root segment match the key and the pointer of the primary index record. This validation requires additional sort work areas (SYMBWKnn), which PCP dynamically allocates if you omit the DD statements.

Use the CHK PINDEX option to control whether PCP performs this validation.

Note

This option does not automatically invoke validation of the primary index. You must include CHECK control statements for both the primary index and primary database or use the CHECKALL control statement.

Uses

You can set the CHK PINDEX option at the following levels:

  • Global options module
  • Generated JCL
  • GLBL control statement
  • CHECK control statement

ISPF panel field

Validate HIDAM Primary Root Keys

PCPSYSIN keyword

CHK(PINDEX(value))

Values

Specify one of the following values:

  • YES or Y

    Validate the HIDAM root key against the primary index key.

  • NO or N

    Do not validate the HIDAM root key against the primary index key.

Default

N

Example

The following example shows how to validate the primary index keys in a primary index (PINDXDB) for a HIDAM primary database (HIDAMDB).

CHECK DBD(HIDAMDB) CHK(PINDEX(Y))
CHECK DBD(PINDXDB)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*