I have an interesting little situation going on that I hope someone out there
in Lister Land will be able to shed some light upon.
I have a Cobol program (PM program) that FOPEN's a circular file with the
correct rec size (320 bytes).
Further down in the logic prior to the FWRITE it calls FFILEINFO to get the
rec size prior to the FWRITE. FFILEINFO is giving me a rec size = 324 bytes.
And so, the FWRITE fails with a 43 error code (boundary violation) which
would be correct based upon the 324 bytes rec size.
I am puzzled as to why FFILEINFO is returning 324 bytes as the rec size instead
of 320 bytes which was the rec size used in the FOPEN.
Is the file system adding on another 4 bytes because this file is a
circular file and if so, why?
Comments, suggestions appreciated as always.
TIA,
Brian Donaldson.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *