SET_OLEN

Read syntax diagramSkip visual syntax diagram
Syntax

                .-length(inrec)-.                  
>>-SET_OLEN--(--+---------------+--,--+-----+--)---------------><
                '-length--------'     '-pad-'      

Note: Commas following the last specified argument can be omitted.

Can be used in FASTREXX procedures.

Sets the length of the output record. If the specified length is greater than the current length of the output record, the pad character is used to fill out the record to the specified length. If the specified length is less than the current OUTPOS, OUTPOS is reset to the new length + 1.

Returns
A single blank.
length
Length, in bytes, to set. Must be a non-negative integer. The default value is the length of the input record (which is also the original length of the output record).
pad
Pad character. Defaults to the pad character set on the Z Data Tools System Processing Options panel. If the current pad setting is OFF, the default pad character is a blank.

Example

Set the length of the current output record to 80.

  SET_OLEN(80)