LOGSORT specification


You use the LOGSORT specification on the OPTIONS command to set the values of the subordinate options, SORTDEVT, SORTNUM, and NUMREC, to override the installation values for these options.

Log Sort Work Data Set Options

R+/CHANGE ACCUM invokes the system sort routine that allocates the required temporary sort work data sets. You can use one of the following strategies:

  • Specify SORTNUM and SORTDEVT to direct the allocation.
  • Specify neither and let the system sort routine allocate the work data sets according to sort rules.
  • Specify neither and provide L001WK nn DD statements in the JCL.
  • Specify only SORTDEVT and let the system sort routine to determine the number of data sets.

Related topic

If you use L001WK nn DD statements in the JCL, R+/CHANGE ACCUM ignores any SORTDEVT and SORTNUM specifications that are present in SYSIN. If you do not use L001WK nn DD statements and do not specify SORTDEVT or SORTNUM, R+/CHANGE ACCUM uses the value supplied by the BMC AMI Recover installation options.

Option

Description

 SORTDEVT deviceType

SORTDEVT deviceType specifies the device type for the temporary sort work data sets that the system sort routine uses when sorting the log.

 SORTNUM integer

SORTNUM integer specifies the number of temporary sort work data sets (up to 32) that the system sort routine can allocate dynamically when sorting the log. The number of sort work data sets should be at least 3. Providing more than 3 sort work data sets may improve performance for large numbers of log records.

If you specify SORTNUM in the OPTIONS command and do not specify SORTDEVT in the command or define SORTDEVT in the BMC AMI Recover installation options module, R+/CHANGE ACCUM ignores SORTNUM.

 NUMREC

NUMREC specifies the size of the sort file for the log sort routine. The size is an estimate or the exact number of log records to process and the estimated average length of each log record. For information about performance implications, see Managing-sort-performance.

Value

Description

NUMREC CALC

(default) NUMREC CALC allows R+/CHANGE ACCUM to estimate the number of log records to be processed by the log sort routine. R+/CHANGE ACCUM estimates that the sort receives one log record per control interval (CI) processed.

NUMREC NOEST

NUMREC NOEST prevents BMC AMI Recover from passing a file size to the log sort routine.

NUMREC EST integer

NUMREC EST integer allows you to estimate the number of log records for the log sort routine. The value of the integer must be a positive integer.

NUMREC ABS integer

NUMREC ABS integer allows you to specify the exact number of log records for the log sort routine. The value of the integer must be a positive integer.

Error
Warning

If the value of the NUMREC ABS integer does not represent the true number of log records passed to the log sort routine, the log sort routine abends. Use extreme caution when you specify NUMREC ABS.


AVGRECSZ integer

AVGRECSZ integer specifies the average length of the log records to sort. If you do not specify AVGRECSZ, R+/CHANGE ACCUM determines its value.

 

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

R+/CHANGE ACCUM 13.1