Modifies the quantity of available resources.
Figure 155 DO RESOURCE Parameter Format
Optional. Type RESOURCE (or its abbreviation RES) in the DO field and press Enter. The DO RESOURCE statement consists of the following subparameters:
Table 157 DO RESOURCE Subparameters
Subparameters |
Description |
---|---|
name |
The name of the resource whose quantity is to be changed (1 through 20 characters). No blanks (except trailing blanks) are allowed. Mandatory. |
quantity |
The quantity must be a 1 to 4 digit number (0 is permitted). Mandatory. To the right of the quantity, specify one of the following:
blank–Sets a new quantity for the resource. |
AT |
The operation is performed if the specified event occurs. The shortest unique abbreviation can be specified. Valid values are:
|
Note: Open, Close or Abend Close apply only for data set creation events. Keep and Mount can be activated (through ON statements) only upon attributes that are available at keep and mount time. For example, you cannot request DO CONDITION AT KEEP based on the program name, since this information is not available from the Keep message.
Parent Topic |