LRECL keyword
Use the LRECL keyword to specify how to determine the LRECL of an unloaded segment records file when it is not specified in the DD control statement explicitly.
LRECL is an optional keyword for the UNLOAD command.
- Related keywords:
- FORMAT keyword
- Format:
-
- SEGMENT
- LRECL is determined on the basis of the maximum length of segments that are defined in DBD. This is the default.
- SEGTFMT
- LRECL is determined on the basis of the maximum length of segments
and the maximum number of levels in DBD by specifying LRECL=SEGTFMT
together with the FORMAT=TFMT keyword parameter.
- Restriction:
- Even though LRECL=SEGTFMT is specified, the number 3 is used as the maximum number of levels when the SDEP=PHYSICAL option is specified and the maximum number of segment levels is less than 3.
- BLOCK
- LRECL is determined as BLKSIZE - 4.
- value
- Value of LRECL. The value can be up to 32760. When the value is not appropriate, the system determined appropriate minimum value is overridden.
If FORMAT=USER is specified, these parameters are ignored except for LRECL=SEGMENT.
LRECL is determined on the basis of the following rules:- The value of LRECL in JCL DD when it was specified. If the value is not appropriate, a valid one is determined and applied.
- The parameter of the LRECL keyword.
- The parameter of the LRECL keyword in site default.
- When DISP=NEW and no LRECL is specified, LRECL=SEGMENT is used.
- Default:
- LRECL=SEGMENT
- Site default support:
- Supported.
- Keyword abbreviation:
- Supported.