OLRECL keyword

The OLRECL keyword specifies the LRECL of FPXOFILE.

OLRECL is an optional keyword for the FPXCTL statement of ODE. If this keyword is specified, it must be assigned a value.

Format:
Read syntax diagramSkip visual syntax diagramOLRECL=BLOCKSEGMENTinteger
BLOCK
The LRECL of FPXOFILE is determined as BLKSIZE-4. The BLKSIZE is determined according to the device type of the data set.
SEGMENT
The LRECL of FPXOFILE is determined based on the following factors:
  • The maximum segment length that is defined in the DBD.
  • The SEG keyword on the OUTPUT statement, the FIELDS keyword on the OUTPUT statement, or both.
integer
The LRECL of FPXOFILE is determined by the specified integer if the value is available. The integer you specify must be in the range of 5 through 32760.
Default:
BLOCK, if the OLRECL keyword is not specified.
Site default support:
Supported.
Restrictions:
  • You cannot have multiple values for the OLRECL keyword. If you specify multiple values, only the last valid occurrence of the OLRECL keyword is used.
  • OLRECL=SEGMENT is internally changed to OLRECL=BLOCK when OUTPUT=TFMT, OUTPUT=UR, or OUTPUT=USER is specified.
  • When the integer you specified is unavailable, that is, larger than BLKSIZE-4, ODE uses the default value BLKSIZE-4.