Explanation: DSBACKUP is an optional parameter that allows you to control the command data set backup environment. You can balance the backup workload between DASD and tape tasks and you can tailor DFSMShsm tape mounting and demounting for command data set backups. DFSMShsm can run up to 64 concurrent command data set backup tasks.
If GENVSAMCOMPNAMES(YES)|GVCN(YES) is in effect, and dsname is a VSAM base cluster and newdsname is either migrated or uncataloged, DFSMShsm will process the request, and default names will be assigned to the VSAM data and index components. If GENVSAMCOMPNAMES(NO)|GVCN(NO) is in effect, and dsname is a VSAM base cluster and newdsname is either migrated or uncataloged, the data set backup command will fail.
DASDSELECTIONSIZE (maximum␠standard) helps you balance the workload between DASD and tape tasks for all WAIT-type requests that do not target tape. DASDSELECTIONSIZE is only applicable if both tape and ML1 DASD are allowed for command data set backups. maximum is the size, in kilobytes, of the largest data set, (a WAIT-type request) that is directed to ML1 DASD. standard is the largest size, in kilobytes, that is considered to be a small data set. DFSMShsm directs small data sets (a WAIT-type request) to DASD if a tape task is not immediately available to process the request. DFSMShsm directs NOWAIT requests to tape, if tape tasks are allowed. The values that you can specify for maximum and standard range from 0 to 999999.
A data set is considered small if it is less than or equal to standard. A data set is considered large if it is greater than maximum. A data set with a value between maximum and standard is a medium data set.
Default Criteria | Large | Medium | Small |
---|---|---|---|
Data set size | 3001 KB and up | 251–3000 KB | 0–250 KB |
WAIT-type requests | Favor tape | First available | Favor disk |
NOWAIT-type requests | Favor tape | Favor tape | Favor tape |
This task target . . . | Means . . . |
---|---|
Favor disk | Small data sets that are processed by WAIT-type requests will select ML1 DASD as target. However, if you specify DASD(TASKS(0)), the data set will use tape. |
Favor tape | Data set backups will be directed to tape unless you specify TAPE(TASKS(0)). |
First available | Data sets will favor the first available task, regardless of disk or tape. If both tasks are available, it will favor the tape task. |
DASD(TASKS(nn)) specifies that you want to use ML1 DASD for command data set backups.
TAPE(TASKSnn) DEMOUNTDELAY(MAXIDLETASKS(drives) MINUTES(minutes))) specifies that you want to use tape for command data set backups.
You can also specify both DASD and tape for command data set backup tasks. TASKS(nn) specifies the maximum number of concurrent command data set backup tasks that DFSMShsm directs to ML1 DASD or to tape. nn is a value between 0 and 64. If the number of DASD or tape tasks specified is 0, all command data set backup requests targeting the backup to DASD or tape fail. The sum of DASD(TASKS(nn)) and TAPE(TASKS(nn)) cannot exceed 64. If the sum is zero, any request fails.
DEMOUNTDELAY allows you to tailor the DFSMShsm tape mounting and demounting for command data set backup. MINUTES(minutes) is the number of minutes that you want DFSMShsm to wait before it deallocates the tape associated with continuously inactive (idle) command data set backup tasks. minutes is a value from 0 to 1440. A value of 1440 indicates that DFSMShsm will not demount the tape until command data set backup tasks are held, a SWITCHTAPES event occurs, or DFSMShsm shuts down, so this value extends across 24 hours.
If you specify DEMOUNTDELAY(MINUTES(0)), a tape that is mounted for command data set backup remains mounted long enough to support a continuous stream of WAIT-type backup requests to tape from a single job stream even if the queue of work momentarily becomes empty.
A change to the DEMOUNTDELAY(MINUTES) value results in a new delay time being set. This new time is calculated from the current time of day. In other words, the new delay does not take into account any time the tape has been idle up to the issuance of this change.
MAXIDLETASKS(drives)) is the maximum number of tape drives that DEMOUNTDELAY can accommodate. drives is a value from 0 to 64. You can specify a maximum of 64 drives for MAXIDLETASKS, regardless of the number of TAPE tasks specified. However, the effective number of tasks for MAXIDLETASKS is bound by the number of TAPE tasks. So, if you specify MAXIDLETASKS(64) and TAPE(TASKS(5)), the effective MAXIDLETASKS is 5. If at a later time you respecify TAPE(TASKS(7)), the effective MAXIDLETASKS becomes 7.
When you issue the QUERY SETSYS command, DFSMShsm displays the number of MAXIDLETASKS specified. The QUERY ACTIVE command displays both the effective number of MAXIDLETASKS and the number of current idle tape tasks (that is, drives that are allocated but have no work).
When a command data set backup task writing to tape completes, DFSMShsm does not deallocate tape units until all queued command data set backup requests have been processed. This enables all consecutive WAIT-type requests by the same batch job to be performed without going through a demount/mount sequence.
SMS relationship: Parameter has the same meaning when applied to SMS-managed or non-SMS-managed DASD volumes or data sets.
SETSYS default: None.
DFSMShsm default: If you do not specify the DASDSELECTIONSIZE parameter on any SETSYS command, the DFSMShsm default for maximum is 3000 KB, and standard is 250 KB. If you do not specify the DASD(TASKS) or TAPE(TASKS) parameters on any SETSYS command, the DFSMShsm default for nn is 2. If you do not specify DEMOUNTDELAY parameter on any SETSYS command, the DFSMShsm default for MAXIDLETASKS is 0. If idle tape tasks exist and the MINUTES parameter was not specified, then the default for MINUTES is 60 minutes.