IBM Support

IBM Informix C-ISAM: Error -23101 received from a C program

Troubleshooting


Problem

When a C program using an Informix® C-ISAM library is compiled with "gcc" or "cc" and then executed, it returns the error message -23101.

Symptom


-23101  Unable to load locale categories.

An invalid locale name was supplied for the locale initialization.  The environment variable specifying the locale category has a wrong value.

Resolving The Problem


This error message is usually resolved by confirming that both the PATH and INFORMIXDIR environment variables are correctly set.

[{"Product":{"code":"SSGKNY","label":"Informix C-ISAM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF008","label":"DYNIX\/ptx"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.2;5.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21198715