PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: michaelgreer on January 16, 2024, 11:48:32 AM

Title: Error 114 recovery
Post by: michaelgreer on January 16, 2024, 11:48:32 AM
I have files which are showing error 114.  When I attempt to use *UFAR it complains about error 114 and won't proceed (I can check the file successfully).  Any insight on how to recover the data or fix the file is appreciated.
Title: Re: Error 114 recovery
Post by: Devon Austen on January 16, 2024, 12:05:05 PM
Check out this forum post form Tips and Tricks: https://forum1.pvxplus.com/index.php?topic=39.0

It details the best way to try to recover keyed files.
Title: Re: Error 114 recovery
Post by: michaelgreer on January 16, 2024, 12:29:43 PM
Devon,

Already reviewed that.  Unfortunately I cannot open the file (throws error 114) so I cannot use KEYED LOAD.
Title: Re: Error 114 recovery
Post by: Devon Austen on January 16, 2024, 12:42:36 PM
Did you also try the filxvlr2 program?
Title: Re: Error 114 recovery
Post by: michaelgreer on January 16, 2024, 01:06:20 PM
Sure did. It just threw a bunch of errors and recovered 0 records.
Title: Re: Error 114 recovery
Post by: EVa on January 17, 2024, 03:12:04 AM
If an open fails, you will need to open the file in binary mode, for example:

open input(1,isz=1)"filename"

Then use read record(1,siz=size)d$ to read the binary contents (size needs to be a multiple of 256 and a file has a file header, key blocks, inventory blocks, data blocks, etc).  Assuming you know what the data looks like, you can then search 'd$'.