Modify CSR arguments
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. The special resource name cannot start with a quote since it will be removed from the first position, if present, during argument parsing. 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. Remaining arguments are optional and contain modifications.
Arg names | Length | Data type | Description |
---|---|---|---|
DEFAVAIL | 1 | Char | Default availability, N or Y |
DEFQTY | 4 | Integer | Default quantity, 1 to 999999 |
MAXLIMIT | 4 | Integer | Maximum usage limit. From 0 (no limit) to 999999. |
MAXTYPE | 1 | Char | Type of action when maximum usage limit is reached: Y|N|R |
ONCOMPL | 1 | Char | Action on complete Y|N|R |
ONERROR | 2 | Char | Action on error, F, FX, FS, K, or blank |
QUANTITY | 4 | Integer | Override quantity, numeric 1 to 999999, or 0 to indicate that there is no overriding quantity. |
RESAVAIL | 1 | Char | Override availability, N, Y, or blank to indicate there is no overriding availability |
RESDEVIA | 4 | Integer | Deviation, -999999 to 999999. |
RESNAME | 44 | Char | Resource name |
USEDFOR | 1 | Char | Used for C, P, B, or N |
Note: MATCHTYP is NOT supported.