On Apr 2, 2008, at 17:34, Rich Greenberg wrote:
On: Wed, Apr 02, 2008 at 03:37:04PM -0600,Paul Gilmartin Wrote:
} I remember a similar problem when I once FILEDEFed a file as
} V 137. Later, when I re-opened the file for append (MOD),
} it loaded in the DCB not my specified 137, but the length of
} the longest record previously written. Ugh.
That is also WAD. On a recfm V file, the lrecl is documentation only.
What shows in a listfile is the longest record. You can still append
more records of ANY length > 0, and a new listfile will show the
length
of the now longest record.
No. I was using OS emulation. OPEN loaded the too-short length in
the DCB, and PUT failed.
BTW, the lrecl is not always the length of the longest record in the
file.
-- gil