Work file option descriptions
You can specify sort and work file options that might be required when extracted keys are sorted during index rebuilds or when using the CHECK DATA and CHECK INDEX utilities.
This information is used for the following purposes:
- As the data set sizing default (primarily allocation values) when BMC AMI Recovery Manager cannot determine data set sizes using information from the Db2 or ICF catalog
- When generating the Log Master (ALPMAIN) step during disaster recovery (only available with the Recovery Management for Db2 solution)
The work file fields are listed alphabetically in the following table along with the corresponding BMC AMI Recovery Manager defaults.
Field | Default | Description |
---|---|---|
Allocation type | Cylinder | Specifies whether the primary and secondary allocation quantities are expressed in cylinders or tracks |
Max primary allocation | 0 | Limits the amount of primary allocation space to be used for sort work space Valid values are 0 - 9999, where 0 indicates no limit. Max primary allocation affects the following values:
|
Primary allocation | 10 | Specifies the primary allocation quantity when BMC AMI Recovery Manager is unable to estimate the quantity due to problems or when the Data Set Sizing option in the Recovery Options Specification panel is set to Default You can limit the primary allocation value by specifying the Max primary allocation. |
Secondary allocation | 20 | Specifies the secondary allocation quantity when BMC AMI Recovery Manager is unable to estimate the quantity due to problems or when the Data Set Sizing option in the Recovery Options Specification panel is set to Default. |
Work prefix | Not specified | Specifies the high-level name to use when allocating sort and work files.
|
Work unit | SYSALLDA | Specifies a disk file for use when dynamically allocating work files. |
WORKDDN | NO | Directs the sorting of extracted index keys in index recoveries. NO (the default) sorts the keys without writing them to SYSUT1 and omits that file from the recovery JCL. YES writes extracted index keys to a work file (SYSUT1) before sorting. You can limit the amount of space allocated for the work file by specifying the Max primary allocation. BMC AMI Recovery Manager ignores this option if you specify a value greater than 1 for Maximum Key Sorts (MAXKSORT). |
You must ensure that the value that you specify for the Maximum primary value fits on your DASD devices. If the maximum primary value exceeds the capacity of a volume, the job will fail. The following table gives examples of the capacity of some typical DASD devices:
Physical data for 3380 (per device) | Physical data for 3390 (per device) | Physical data for 9345 (per device) | |||
---|---|---|---|---|---|
Single Density (Models D & J) | Tracks: 3,275 Cyls: 885 | Model 1 (Single) | Tracks: 16,695 Cyls: 1,113 | Model 1 | Tracks: 21,600 Cyls: 1,440 |
Double Density (Model E) | Tracks: 26,550 Cyls: 1,770 | Model 2 (Double) Model 3 | Tracks: 33,390 Cyls: 2,226 | Model 2 | Tracks: 32,340 Cyls: 2,156 |
Triple Density (Model K) | Tracks: 39,825 Cyls: 2,655 | (Triple) | Tracks: 50,085 Cyls: 3,339 | Not applicable | Not applicable |
Not applicable | Not applicable | Model 9 (Mod 9) | Tracks: 150,255 Cyls: 10,017 | Not applicable | Not applicable |