List of Informix GLS error numbers

This topic provides a list of the error-number constants that the ifx_gl_lc_errno() function can retrieve. It also provides a list of the functions that might set a particular error number.

The error-number constants are defined in the gls.h header file. For a complete list of error-number constants, see the gls.h header file.

Error-number constant Description functions
IFX_GL_NOERRNO No error has occurred. Internal use only
IFX_GL_EILSEQ Character sequence in a multibyte or wide character is invalid. ifx_gl_cv_mconv(), ifx_gl_getmb(), ifx_gl_ismalnum(), ifx_gl_ismalpha(), ifx_gl_ismblank(), ifx_gl_ismcntrl(), ifx_gl_ismdigit(), ifx_gl_ismgraph(), ifx_gl_ismlower(), ifx_gl_ismprint(), ifx_gl_ismpunct(), ifx_gl_ismspace(), ifx_gl_ismupper(), ifx_gl_ismxdigit(), ifx_gl_iswalnum(), ifx_gl_iswalpha(), ifx_gl_iswblank(), ifx_gl_iswcntrl(), ifx_gl_iswdigit(), ifx_gl_iswgraph(), ifx_gl_iswlower(), ifx_gl_iswprint(), ifx_gl_iswpunct(), ifx_gl_iswspace(), ifx_gl_iswupper(), ifx_gl_iswxdigit(), ifx_gl_mblen(), ifx_gl_mbscat(), ifx_gl_mbschr(), ifx_gl_mbscoll(), ifx_gl_mbscpy(), ifx_gl_mbscspn(), ifx_gl_mbslen(), ifx_gl_mbsmbs(), ifx_gl_mbsncat(), ifx_gl_mbsncpy(), ifx_gl_mbsnext(), ifx_gl_mbsntsbytes(), ifx_gl_mbsntslen(), ifx_gl_mbspbrk(), ifx_gl_mbsprev(), ifx_gl_mbsrchr(), ifx_gl_mbsspn(), ifx_gl_mbstowcs(), ifx_gl_mbtowc(), ifx_gl_putmb(), ifx_gl_tomlower(), ifx_gl_tomupper(), ifx_gl_towlower(), ifx_gl_towupper(), ifx_gl_wcscoll(), ifx_gl_wcslen(), ifx_gl_wcstombs(), ifx_gl_wctomb()
IFX_GL_ENULLPTR Function received a NULL pointer to a function. Internal use only
IFX_GL_ENOMEM Function encountered a memory-allocation failure. ifx_gl_init(), ifx_gl_mbscoll(), ifx_gl_wcscoll()
IFX_GL_EINDEXRANGE Index is out of bounds. Internal use only
IFX_GL_EINVPTR An end pointer is less than a begin pointer. ifx_gl_mbsprev(), ifx_gl_putmb()
IFX_GL_ERANGE The base of a number is out of range. Internal use
IFX_GL_EINVAL Wide-character or multibyte-character string is invalid. ifx_gl_conv_needed(), ifx_gl_cv_mconv(), ifx_gl_getmb(), ifx_gl_ismalnum(), ifx_gl_ismalpha(), ifx_gl_isblank(), ifx_gl_ismcntrl(), ifx_gl_ismdigit(), ifx_gl_ismgraph(), ifx_gl_ismlower(), ifx_gl_ismprint(), ifx_gl_ismpunct(), ifx_gl_ismspace(), ifx_gl_ismupper(), ifx_gl_ismxdigit(), ifx_gl_mblen(), ifx_gl_mbscat(), ifx_gl_mbschr(), ifx_gl_mbscoll(), ifx_gl_mbscpy(), ifx_gl_mbscspn(), ifx_gl_mbslen(), ifx_gl_mbsmbs(), ifx_gl_mbsncat(), ifx_gl_mbsncpy(), ifx_gl_mbsnext(), ifx_gl_mbsntsbytes(), ifx_gl_mbsntslen(), ifx_gl_mbspbrk(), ifx_gl_mbsprev(), ifx_gl_mbsrchr(), ifx_gl_mbsspn(), ifx_gl_mbstowcs(), ifx_gl_mbtowc(), ifx_gl_putmb(), ifx_gl_tomlower(), ifx_gl_tomupper()
IFX_GL_FILEERR Input file could not be read. ifx_gl_cv_mconv(), ifx_gl_cv_outbuflen(), ifx_gl_cv_sb2sb_table(), ifx_gl_init()
IFX_GL_PARAMERR Parameter is out of bounds. ifx_gl_convert_number(), ifx_gl_format_number(), ifx_gl_init(), ifx_gl_mbscat(), ifx_gl_mbschr(), ifx_gl_mbscoll(), ifx_gl_mbscpy(), ifx_gl_mbscspn(), ifx_gl_mbslen(), ifx_gl_mbsmbs(), ifx_gl_mbsncat(), ifx_gl_mbsncpy(), ifx_gl_mbsntsbytes(), ifx_gl_mbsntslen(), ifx_gl_mbspbrk(), ifx_gl_mbsrchr(), ifx_gl_mbsspn(), ifx_gl_mbstowcs(), ifx_gl_wcscat(), ifx_gl_wcschr(), ifx_gl_wcscoll(), ifx_gl_wcscpy(), ifx_gl_wcscspn(), ifx_gl_wcsncat(), ifx_gl_wcsncpy(), ifx_gl_wcsntslen(), ifx_gl_wcspbrk(), ifx_gl_wcsrchr(), ifx_gl_wcsspn(), ifx_gl_wcstombs(), ifx_gl_wcswcs()
IFX_GL_CATASTROPHE Function encountered an internal error. Result is undefined result. Internal use only
IFX_GL_BADFILEFORM File format was invalid. ifx_gl_conv_needed(), ifx_gl_init()
IFX_GL_INVALIDLOC Locale code sets are inconsistent. ifx_gl_init()
IFX_GL_EIO Function encountered an I/O error. Internal use only
IFX_GL_E2BIG Operation would overflow a buffer. ifx_gl_convert_date(), ifx_gl_cv_mconv(), ifx_gl_format_date(), ifx_gl_format_datetime(), ifx_gl_format_money(), ifx_gl_format_number()
IFX_GL_EBADF Function received a bad handle. ifx_gl_conv_needed(), ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_EOF Function encountered an end-of-file on input stream. ifx_gl_getmb()
IFX_GL_EUNKNOWN An unknown system error has occurred. Internal use only
IFX_GL_UNLOADEDCAT Function cannot copy from an unloaded category. Internal use only
IFX_GL_LOADEDCAT Function cannot copy into a loaded category. Internal use only
IFX_GL_ENOSYS A feature is not supported. ifx_gl_format_money()
IFX_GL_ELOCTOOWIDE The current locale has characters that are too wide for this version of the library. ifx_gl_init()
IFX_GL_INVALIDFMT A formatted argument string is invalid. ifx_gl_convert_date(), ifx_gl_convert_money(), ifx_gl_convert_number(), ifx_gl_format_number()
IFX_GL_EFRACRANGE Fraction of second is out of bounds. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_ESECONDRANGE Second is out of bounds. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_EMINUTERANGE Minute is out of bounds. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_EHOURRANGE Hour is out of bounds. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_EDAYRANGE Day number is out of bounds. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_EWKDAYRANGE Weekday number is out of bounds. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_EYDAYRANGE Year-day number is out of bounds. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_EMONTHRANGE Month number is out of bounds. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_EYEARRANGE Year number is out of bounds. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADFRAC Fraction could not be scanned. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_BADSECOND Second could not be scanned. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_BADMINUTE Minute could not be scanned. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_BADHOUR Hour could not be scanned. ifx_gl_convert_datetime(), ifx_gl_format_datetime()
IFX_GL_BADDAY Month-day could not be scanned. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADWKDAY Weekday could not be scanned. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADYDAY Year-day could not be scanned. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADMONTH Month could not be scanned. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADYEAR Year could not be scanned. ifx_gl_convert_date(), ifx_gl_convert_datetime(), ifx_gl_format_date(), ifx_gl_format_datetime()
IFX_GL_BADFMTMOD Format modifier is invalid. ifx_gl_convert_date()
IFX_GL_BADFMTWP Field width or precision is invalid. ifx_gl_convert_date()
IFX_GL_BADINPUT Input string does not match format string. ifx_gl_convert_date()
IFX_GL_NOPOINT Input is missing a decimal separator. ifx_gl_convert_date()
IFX_GL_BADMONTHSTR Month string could not be scanned ifx_gl_convert_date()
IFX_GL_BADCALENDAR LC_TIME category contains an unsupported calendar. Internal use only
IFX_GL_BADOBJVER The lc (locale), cm (code set), or cv (code-set conversion) object is the wrong version. ifx_gl_init()
IFX_GL_BADALTDATE Function could not convert %Z information. Internal use only
IFX_GL_NOSYMMAP Character/symbol is not in charmap. Internal use only
IFX_GL_BADSYM Symbolic character name is invalid. Internal use only
IFX_GL_ELOCLOAD Function could not load locale. Internal use only
IFX_GL_TERMMISMAT String-termination parameters do not match. ifx_gl_mbscat(), ifx_gl_mbscoll(), ifx_gl_mbscspn(), ifx_gl_mbsmbs(), ifx_gl_mbsncat(), ifx_gl_mbspbrk(), ifx_gl_mbsspn(), ifx_gl_wcscat(), ifx_gl_wcscoll(), ifx_gl_wcscspn(), ifx_gl_wcsncat(), ifx_gl_wcspbrk(), ifx_gl_wcsspn(), ifx_gl_wcswcs()
IFX_GL_NOCTYPE GL_CTYPE is not loaded Internal use only
IFX_GL_LOCMISMAT Loaded code sets are not same. Internal use only