APAR status
Closed as program error.
Error description
A query with an obvious syntax error will return error 999 instead of the correct -217 error: -217 Column column-name not found in any table in the query (or SLV is undefined). See following repro: ------------------------ create database db1 with log; create table tab1 (col1 integer); insert into tab1 values (1); create database db2 with log; create table tab2 (col2 integer); insert into tab2 values (1); -- Correct Syntax database db1; select * from tab1, db2:tab2 where col1 = db2:tab2.col2; -- 999 errors database db1; select * from tab1, db2:tab2 where col1 = tab2.col2;
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * IDS 11.50xC5 users and below * **************************************************************** * PROBLEM DESCRIPTION: * * A wrongly formed cross-database query that does not resolve * * to unambiguous table columns returns a -999 error. * **************************************************************** * RECOMMENDATION: * * Upgrade to IDS 11.50.xC6 and above. * ****************************************************************
Problem conclusion
Problem first fixed in IDS 11.50.xC6. A cross-database query that does not resolve to unambiguous table columns will return a -217 error to the user.
Temporary fix
Comments
APAR Information
APAR number
IC61807
Reported component name
IBM IDS ENTRP E
Reported component ID
5724L2304
Reported release
B15
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-06-30
Closed date
2009-10-26
Last modified date
2009-10-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
IBM IDS ENTRP E
Fixed component ID
5724L2304
Applicable component levels
RB15 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
26 October 2009