KEYSORT

Use the KEYSORT option to override the SORTDEVT and SORTNUM values in the installation options module for all REBUILD INDEX or RECOVER UNLOADKEYS, or RECOVERBUILDINDEX index sorts within a job step. The values that are specified in the OPTIONS command with KEYSORT can be overridden by SORTDEVT and SORTNUM on the REBUILD INDEX or RECOVER UNLOADKEYS, or RECOVERBUILDINDEX command statements.

When performing a REBUILD INDEX or a RECOVER UNLOADKEYS or RECOVERBUILDINDEX job, BMC AMI Recover invokes BMCSORT, which allocates the required temporary sort work data sets. You can specify one of the following courses of action:

  • Specify SORTNUM and SORTDEVT to direct the allocation

  • Specify neither SORTNUM nor SORTDEVT and let BMCSORT allocate the work data sets according to sort rules

  • Specify neither SORTNUM nor SORTDEVT and specify SxxxWKnn DD statements in the JCL

  • Specify only SORTDEVT and let BMCSORT determine the number of data sets

If you use SxxxWKnn DD statements in the JCL, any SORTDEVT and SORTNUM specifications that are present are ignored. If you do not use SxxxWKnn DD statements and do not specify SORTDEVT or SORTNUM, the values that are supplied in the BMC AMI Recover installation options module are used.

OptionDescription

SORTDEVT deviceType

SORTDEVT deviceType specifies the device type for the temporary sort work data sets that BMCSORT uses.

If you specify SORTDYN NO (SORTDYN), BMCSORT defaults are used even if you specify a value for SORTDEVT. Otherwise, BMC AMI Recover uses its internal default value, SYSDA, if you do not specify SORTDEVT.

SORTNUM integer

The SORTNUM option affects the allocation of sort work files when BMCSORT is allocating your sort work files dynamically. You can specify an integer value of 1 through 255.

When you specify this option, BMCSORT dynamically allocates the number of sort work files that it needs for each sort task up to the maximum that is illustrated in the following formula:

 maximum dynamically allocated sort work files = n - preallocated sort work files

If you specify integer from 1 through 32, n equals 32. If you specify integer greater than 32, n equals integer.

Important

Preallocated sort work files include sort work files that are allocated in your JCL.

If you do not specify a value for SORTNUM, BMC AMI Recover uses the installation option default.

Was this page helpful? Yes No Submitting... Thank you

Comments