Does anyone know what this error is telling me?
I see this error come up from time to time and I am not sure what the problem really is. This is Unidata 7.2.9 running on Centos 5.4. Line 83 of MAIN.PROGRAM is an include, so I find it challenging to find out what it is actually doing when that error hits. If I step through in the debugger, when it gets to the INCLUDE line it prompts me for the file name where the INCLUDE source resides. When I give it the file name it says that it is not a directory file when it actually is. It won't display the source then.
Hi,
A couple of quick things, UniData was never officially supported on Centos until the 8.1 release of UniData in 2015 and that was on Centos 6.0.
7.2.9 was released in 2011, so is now 12 years out of date. We stopped making 7.2.9 available in 2015, it went EOS in 2016 and EOLS in 2022.
Centos 5 itself was end of lifed in 2017. You really need to upgrade both the OS and UniData.
The 'long record check' is done when you are trying to a write record larger than the block size of the file.
An error with the check generally denotes file corruption.
You will need to check the file for corruption and repair it. This is done using guide and fixfile.
Before doing anything, I suggest getting a copy of the file before any fix is always good practice.
There is a chance you will still lose data from the fix, so make sure you have a backup of the file in it's uncorrupted state just in case.
Regards,