Current plan special resource object
This option is valid for the current plan special resource object:
- GET request with key type OWNER.
The default key type is OWNER.
| Field | Type | Len | Description | APPSEL | APPFLD |
|---|---|---|---|---|---|
| SR_NAME | CHAR | 44 | Special resource name | N | O |
| ALLOCATION_TYPE | CHAR | 1 | Allocation type (S or X) | N | O |
| AVAILABLE | FLAG | 1 | Availability indicator | N | O |
| SHR_IN_USE | FLAG | 1 | Special resource allocated - SHR | N | O |
| IN_USE_EXCLUSIVE | FLAG | 1 | Special resource allocated - EXCL | N | O |
| KEPT_AT_ERROR | FLAG | 1 | Special resource has been kept on error | N | O |
| KEPT_EXCLUSIVE | FLAG | 1 | EXCL special resource kept on error | N | O |
| QUANTITY | BIN | 31 | Quantity requested by the operation | N | O |
| KEEP_ON_ERROR | CHAR | 1 | On-error indicator (Y, N, blank) | N | O |
Note:
- Because you must identify the owning operation to retrieve special resource information, you must specify the selection fields that are mandatory for the CP_OPERATION object. No CP_OPERATION fields are returned in the receive buffer.
- The values returned for fields ALLOCATION_TYPE, QUANTITY, and KEEP_ON_ERROR depend on the operation that is used to access the CP_RESOURCE object.