
Record Length Inconsistency - Cause of corruption unknown
We have reports of a problem which we find very difficult to understand.
A MicroFocus COBOL/2 (V1.3) for SCO Unix compliled application has been
running happily for years but we receive reports a random key length
inconsistency errors at which point the file is unusable until the data
element is re-sorted.
The error is caused by the random insertion of records intended for
other files. E.g. We have an indexed file which holds the menu
structure. The file is static once installation has been completed,
only a licence upgrade or addition of a new module will change this
file. After months of operation without software change the customer
reported a 3,9 error on the file (record length). On investigation we
find that a record intended for a work file (also indexed) has been
written in the *middle* of the data part of the menu file.
To my knowledge you can't do this manually with COBOL. Therefore we're
ruling out application coding errors.
Currently we suspect a) the compiler was not intended for use on
OpenServer machines - perhaps this is the reason, b) the RTS system has
a flaw and is misbehaving, c) the hardware is faulty.
c has been ruled out because it's happening on all kinds of kit. a & b
are still on the suspect list.
Has anyone else experienced similar? The compiler and RTS are now
ancient retired products. Converting to a supported version of the
compiler means code changes to make the product work with the new
version. I think we're going to have to do this (and quite look forward
to using some newer tools) but I don't want to commit customers to the
RTS upgrade costs if there is an alternative solution.
Any ideas?
--
Regards
Mark
Sent via Deja.com http://www.*-*-*.com/
Before you buy.