MODIFY CSR – Current Plan Special Resource

MODIFY CSR takes as selection argument the resource name in the RESNAME argument. This argument is required. The resource name must be padded to the full length of 44 characters. It is processed as if MATCHTYP(EXA) was specified and an exact match is required for record selection. Alternatively, the common segment CSRCOM can be given as the selection argument. The remaining arguments are optional and contain modifications.
Note: MATCHTYP is not supported.
Table 1. MODIFY CSR – Current Plan Special Resource
Argument Name Description
DEFAVAIL Default availability, N or Y
DEFQTY Default quantity, 1 to 999999
MAXLIMIT Maximum usage limit. From 0 (no limit) to 999999
MAXTYPE Type of action when maximum usage limit is reached: Y|N|R
ONCOMPL Action on complete Y|N|R
ONERROR Action on error, F, FX, FS, K, or blank
QUANTITY Override quantity, numeric 1 to 999999, or 0 to indicate that there is no overriding quantity
RESAVAIL Override availability, N, Y, or blank to indicate there is no overriding availability
RESDEVIA Deviation, -999999 to 999999
RESNAME Resource name
USEDFOR Used for C, P, B, or N