The Minimum logical record Length of the file, or 0 (zero)


MINLEN defines the minimum length for lines in a file. When MINLEN is greater than zero, whenever the file is edited and lines are inserted, modified or copied from the clipboard for from another file, the minimum line length will be enforced, by blank-padding any lines that are shorter than MINLEN characters.

When the MINLEN option is set, SPFLite does the following:

    • If the MINLEN value is greater than zero, the file currently being edited is scanned, any any lines shorter than the newly-specified MINLEN are padded with blanks to the minimum length.

    • Any lines changed manually by typing into them, lines changed from primary or line commands, and lines added from COPY and PASTE commands, will have their minimum line length enforced by the MINLEN value in effect at the time.

One reason to use a MINLEN value greater than zero is to avoid the existence of zero-length lines, which can create certain issues with FIND and CHANGE pictures.

The installation default for MINLEN is 0.

See also LRECL - Specify Record Length and Managing Line Lengths for more information.

More details on handling special file formats can be found in Handling Non-Windows Text Files.

The MINLEN value is stored as part of the PROFILE options which are maintained individually by file type.

Created with the Personal Edition of HelpNDoc: Free Kindle producer