Problem
I'm running op udir on SCO OpenServer Release 5, and this error message occurs:
iserror no=117This error occurs after upgrading from earlier SCO releases and prevents access to the data.
Cause
This error will occur if op udir is run with the LANG environment variable set to a value different than that when the data files were created.
This is an ISAM error indicating a bad collating sequence. If your database is built using a specific LANG variable (and thus a specific collating sequence), you will only be able to read it while that specific LANG variable is set.
Solution
Ensure that LANG is set to its original "pre-upgrade" value. Do this by moving the appropriate entry in the file /etc/default/lang to the top of this file.
Here is a sample of the file:
LANG=C_C.C
LANG=english_us.ascii
LANG=en_US.ascii
LANG=german_germany.8859
LANG=french_france.8859
LANG=english_uk.8859
LANG=english_us.8859If the original "LANG" was set to "en_US.ascii", the modified file would look like this:
LANG=en_US.ascii
LANG=C_C.C
LANG=english_us.ascii
LANG=german_germany.8859
LANG=french_france.8859
LANG=english_uk.8859
LANG=english_us.8859 See also
Another article in this database:TA100620, "ISAM application returns error 117 - EBADCOLL, Bad Custom Collating.".