Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
RECMODE Details (↑ Format of Your Data Files)
◄Key► ◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The possible values of format are:
F Fixed length record format.
V Variable length record format.
OSVS Fixed or variable depending on a file's record definitions.
If all record definitions for the file have the same
length and are fixed length, the file will be in fixed
length record format. Otherwise it will be in variable
length record format.
This setting is compatible with OS/VS COBOL and DOS/VS COBOL.
When compiled with their CMPR2 directive, both VS COBOL II
COBOL/370 are also compatible with RECMODE "OSVS". For
compatibility with VS COBOL II and COBOL/370 when compiled
with NOCMPR2, you must specify RECMODE "F".
For an individual file this directive is overridden if the FD
contains either a RECORD IS VARYING phrase (which specifies
variable format) or a RECORDING MODE clause.
-♦-