KEYS


The KEYS keyword is valid with the OREORG command.

You can specify this option in PLUSIN. The following table describes the keyword.

KEYS keyword

To do this

Specify this in PLUSIN

Specify root key values of records to be reorganized.

KEYS(value)

Internal default: None

The KEYS keyword is required if MODE(RECORD) is specified and the OLRKEYS DD statement is not specified. The KEYS keyword is optional when you specify an OLRKEYS DD statement. KEYS(value) is only applicable when MODE(RECORD) is specified.

The KEYS keyword specifies the root key values of records to be reorganized. You can specify up to 10 values. Each value is a character string with a maximum of 256 characters.

All characters are allowed, but any character string containing special characters must be enclosed in quotes (single or double). Single-quoted strings may be preceded by C (for character data) or X (for hexadecimal data). If X is used, the value inside the quotes must be an even number of characters and must consist only of characters 0 to 9 and A to F . Each value must be left justified and padded with X'FF's. An example follows:

KEYS(X'00000001',X'00000002')

If the OLRKEYS DD statement is specified, Online/Defrag processes the records in KEYS, then the records in OLRKEYS.

 

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

BMC AMI Online Reorg for IMS 5.2