tandem <
jayga...@gmail.com> wrote in
news:dc8e084f-558c-49c6...@googlegroups.com:
I explained that already: to read and write EDIT (code 101) files, you must use the
EDITREAD and EDITWRITE procedures instead of READ and WRITE.
Your program certainly *did* write to the 101 file; the problem is that since you didn't use
EDITWRITE, you didn't write a *valid* 101 file. Because the file code was 101, FUP was
expecting to see a valid 101 file -- notice that the error message you got from FUP was an
EDITREAD error. If you had FUP ALTERed the file your program wrote to Code 0, you
would have been able to FUP COPY its contents successfully.
EDIT files have a specific, proprietary format, and you *cannot* read or write them
successfully using standard READ and WRITE procedures. You *must* use EDITREAD
and EDITWRITE for EDIT files.