MAXLSORT integer

The MAXLSORT option specifies how many log sorts BMC AMI Recover can run in parallel and also determines the number of MERGE/SNAP/RESTORE phases that can run in parallel regardless of log requirements.

These phases run in subtasks and MAXLSORT sets the number of subtasks to use. Using the MAXLSORT option can improve recovery performance.

Valid values are 0 to 999. If you do not specify a value for MAXLSORT, BMC AMI Recover uses the value of the MAXLSORT installation option (MAXLSORT=0). The MAXLSORT installation option has a default value of 0 (MAXLSORT=0), which allows BMC AMI Recover to determine an appropriate value for MAXLSORT.

If you specify MAXLSORT 1, you set up your job to run as it would in BMC AMI Recover version 8.1.00 and earlier and turn off parallel log sorts and parallel MERGE/SNAP/RESTORE phases. These phases then run serially in the main task in the order in which they are scheduled by the BMC AMI Recover planning component.

The following files are dynamically allocated if you do not code them in JCL:

  • LOGOUnnn: sort message files

    nnn is the number of the log sort and is a number between 1 and the (non-zero) value that is specified for MAXLSORT.

  • LxxxWKnn: sort work files

    xxx is the number of the log sort and is a number between 1 and the (non-zero) value that is specified for MAXLSORT. nn is the number of the work data set. For example, if MAXLSORT=3 and two sort work files are required for each sort, the DDs would be specified as follows:

    L001WK01 DD...
    L001WK02 DD...
    L002WK01 DD...
    L002WK02 DD...
    L003WK01 DD...
    L003WK02 DD...

When you use dynamic allocation for these files, BMC AMI Recover determines the optimal number of files to use.

When MAXLSORT is greater than 1, the MERGE/SNAP/RESTORE phases run in subtasks in parallel. The order of execution of phases may be different from the execution plan in AFRPLAN. BMC AMI Recover prints the output for each phase for each object in an AFRPRnnn data set (DD statements common to all BMC AMI Recover executions). BMC AMI Recover names the files AFRPR001, AFRPR002, AFRPR003, and so on. The maximum number of AFRPRnnn files is calculated by the following formula:

 value of MAXKSORT + value MAXLSORT+ 1 = maximum number of AFRPRnnn files

AFRPRINT contains a list of the phases executed for each object and the name of the AFRPRnnn data set where BMC AMI Recover put the output for the phase.

AFRSUMRY messages are printed in execution plan order.

For more information about setting MAXLSORT and how the parallel merge phase works, see MAXLSORT-KSORTSHARE-options.

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

Comments