SET_LRECL
The SET_LRECL keyword specifies the record length of a data set.
Syntax
SET_LRECL=(nnnnn|$DCOC|$DCOU,nnnnn)
Where:
nnnnn is an integer (1 - 32767) that defines the length of a non-VSAM record or the average and maximum record sizes of a VSAM data set.
Notes:
- For non-VSAM data sets, the second length is ignored.
- If $DCOC or $DCOU is specified for the first operand, the second operand becomes irrelevant.
- The second LRECL set of parameters in the SET_LRECL function pertain only to IDCAMS-based VSAM DEFINEs. Therefore, they are ignored for JCL-based definition of VSAM data sets.
- The $DCOC and $DCOU keywords are only valid for a SPACEUNITS value of AVGRECU, AVGRECK, or AVGRECM.
Default
None.
Environments
ALLOCATE
JCL equivalent
DD01 DD LRECL=80,....
IDCAMS equivalent
DEFINE CL (RECORDSIZE(80 120) ...)
Data class equivalent
Lrecl
Related selection criteria
LRECL
Example
SET_LRECL=(80,,120)