CR.POLICYBY keyword

Use this keyword to specify how the Conditional Reorganization Support Service (CRSS) selects the reorganization policy for database diagnosis.

The CR.POLICYBY keyword is optional for REORG HRFSYSIN DD statements. If the CRSS is not used, this keyword is ignored.

Specify one of the following values:

CR.POLICYBY(DBDNAME)
The reorganization policy is selected based on the DBD name of the target database.

If you specify this option, the reorganization policy that is named SYS.DBDNAME.dbdname in the Input repository of IMS Tools KB is used. dbdname is the DBD name of the target database.

CR.POLICYBY(DBTYPE)
The reorganization policy is selected based on the type of the target database.

If you specify this option, the reorganization policy that is named SYS.DBDTYPE.dbtype in the Input repository of IMS Tools KB is used. dbtype is one of HDAM, HIDAM, PHDAM, PHIDAM, HISAM, or SHISAM.

CR.POLICYBY(NAME)
The reorganization policy is selected based on the policy name that is specified on the CR.POLICYNM keyword. If you specify this option, you must also specify the CR.POLICYNM keyword.

Format

Read syntax diagramSkip visual syntax diagramCR.POLICYBY(DBTYPEDBDNAMENAME)

Default value

DBTYPE