Specifying multitasking
BMC AMI Copy
has several options that you use to indicate that you want to perform multitasking when making copies.
The installation option, MAXTASKS (tapeTasks[,totalTasks]), sets the default number of subtasks, with the tapeTasks being the maximum number of tape-enabled tasks and totalTasks being the total number of tasks. A task enabled for tape output can execute tape or DASD copies. However, a task that is not enabled for tape can execute only DASD copies.
Valid values for tapeTasks are 1 through 32. Valid values for totalTasks are tapeTasks through 32. The default values are 1 for tapeTasks and AUTO for totalTasks or MAXTASKS (1,AUTO). AUTO allows BMC AMI Copy to determine the value for totalTasks. Multitasking is specified, by default.
To enable tape subtasks only
Specify MAXTASKS (tapeTasks, totalTasks) where tapeTasks is equal to totalTasks.
For more information about the MAXTASKS installation option, see Basic installation options.
To disable multitasking
If you do not want
BMC AMI Copy
to perform subtasking, specify MAXTASKS (1,1).In this case, BMC AMI Copy performs all work in the main task.
To override the installation option value
Specify MAXTASKS on the OPTIONS command in SYSINSince BMC AMI Copy parses all statements at the beginning of the utility execution, the last value of MAXTASKS found in SYSIN is used for the job step if MAXTASKS is specified multiple times. See OPTIONS-command for a description of how this keyword is used with this command.
The COPY command option TASK, followed by an integer, is used to specify a task number that should process the specified space. This gives you control over how the work is divided and might be important for stacked tape considerations and for elapsed time considerations due to data set volume placement. If you do not specify a TASK number for a space or space list, BMC AMI Copy starts the copy for a space in the next available task. For the description for the TASK option, see COPY-object-options.
BMC AMI Copy uses the larger of TASK and MAXTASKS to determine the maximum number of tasks to use for copy initialization.
The PARALLEL option on the COPY command, which allows you to specify the number of objects to process in parallel, has the same effect as MAXTASKS and allows you to override the current setting of MAXTASKS. For the description of the PARALLEL option, see PARALLEL-numberOfObjects.
Related topic