Software Archive
Read-only legacy content
17061 Discussions

Error 55, Delete error

Intel_C_Intel
Employee
468 Views
I am converting an old MFPS 5.0 application to CFV. The application does BACKSPACE and ENDFILE processing on direct access files. I thought I could use the DELETE verb to remedy this. I get a Error 55 which does not provide much help. Do I have to turn the fpscomp compiler option on and use the code as is? I really don't want to.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
468 Views
DELETE requires that you open the file ORGANIZATION='RELATIVE'. This also requires that you rewrite the file, as this adds an extra byte for a delete flag.

Steve
0 Kudos
Reply