I'd note that replacing a rrcord with a shorter record also truncates the
file.
When I was young I did try to replace one long record by two shorter ones
(taking into account the halfword length for each) but that does not work
either.

Rob
On Apr 13, 2016 11:36 PM, "John P. Hartmann" <[email protected]> wrote:

> With respect, Alan.  A V-format file is truncated if you overwrite a
> record with a longer one.  You can replace records in place without
> truncation as long as you adhere to this length restriction.
>
> On 04/13/2016 11:16 PM, Alan Altmark wrote:
>
>> You can update a file starting with any record you want, but when you're
>> done, V-format files will move EOF to after the last record you write. For
>> F-format files, EOF doesn't move unless you add records.
>>
>

Reply via email to