Informix - Problem description
Problem IT32768 | Status: Closed |
DBINFO(DBSPACE) RAISES 727: INVALID OR NULL TBLSPACE NUMBER | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
Prior to 12.10.xC14 and 14.10.xC2, the dbinfo() function used below was working fine: ================================================================ ====================== IBM Informix Dynamic Server Version 11.70.FC9 -- On-Line -- Up 00:00:56 -- 174504 Kbytes (19:30:15)-(informix)-(529)-> echo "select first 1 dbinfo('dbspace',partnum) from systabnames;" | dbaccess sysmaster Database selected. (expression) rootdbs 1 row(s) retrieved. Database closed. After upgrading to 12.10.xC14/14.10.xC2+ the dbinfo() function started to fail w/ the following error message: ================================================================ ========== IBM Informix Dynamic Server Version 14.10.FC3 -- On-Line -- Up 00:00:17 -- 173208 Kbytes (19:34:30)-(informix)-(509)-> echo "select first 1 dbinfo('dbspace',partnum) from systabnames;" | dbaccess sysmaster Database selected. 727: Invalid or NULL TBLspace number given to dbinfo(dbspace). Stack trace found: 0x00000000014e501d (oninit) afstack 0x00000000014e9d5d (oninit) afhandler 0x00000000014ea372 (oninit) affail_interface 0x0000000000f12f40 (oninit) check_traperror 0x0000000000797631 (oninit) sqerr 0x0000000000924263 (oninit) geval 0x00000000016d9a7e (oninit) ev_geval 0x00000000016db3af (oninit) new_eval 0x00000000008a4a94 (oninit) evalcols 0x00000000008a627d (oninit) getrow 0x00000000008a730e (oninit) fetchrow 0x000000000063c971 (oninit) exfetch 0x0000000000add97d (oninit) sql_nfetch 0x0000000000ade034 (oninit) sq_nfetch 0x0000000000bc655e (oninit) sqmain 0x0000000001613a7a (oninit) spawn_thread 0x00000000014d5cf2 (oninit) th_init_initgls 0x000000000151c00f (oninit) startup | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC4. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to Informix Server 14.10.xC4. * **************************************************************** This could be prevented by an SQL like this select first 1 dbinfo('dbspace',partnum) from systabnames where partnum >= 1048676; | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC4. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to Informix Server 14.10.xC4. * **************************************************************** This could be prevented by an SQL like this select first 1 dbinfo('dbspace',partnum) from systabnames where partnum >= 1048676; | |
Comment | |
Fixed in Informix Server 14.10.xC4. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.05.2020 09.06.2020 09.06.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |