home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT36518 Status: Closed

DBACCESS DOES NOT DISPLAY ERRORS CORRECTLY IN INTERACTIVE MODE.

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
Given the following test case:

create table tab1(a int);

create procedure p1( arg1  Like tab1.a) returning int;
return 99;
end procedure;

create procedure p2() returning int;
return 99;
end procedure;

create procedure p3() returning int;
return 99;
end procedure;

drop table tab1;

update statistics for procedure p1;
update statistics for procedure p2;
update statistics for procedure p3;

It would be expected behavior that the update statistics for p1
would fail,  as p1 references tab1, which was dropped with the
like clause.

When this is run using dbaccess in interactive mode the
following is shown:

create table tab1(a int);

create procedure p1( arg1  Like tab1.a) returning int;
return 99;
end procedure;

create procedure p2() returning int;
return 99;
end procedure;

create procedure p3() returning int;
return 99;
end procedure;

drop table tab1;

update statistics for procedure p1;
update statistics for procedure p2;
# ^
#  206: The specified table (tab1) is not in the database.
#
#  111: ISAM error:  no record found.
#
update statistics for procedure p3;

Due to the order of the error output above it would appear that
the error 206 is related to procedure 2, when the error actually
occurred due to the refence to tab1 in procedure 1.  In a
situation where this is more complex it would be very difficult
to determine which procedure the error was coming from. The 206
and 111 errors should be listed in context and not at the end of
the statement run.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC7.                 *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC7.                        *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC7.                 *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC7.                        *
****************************************************************
Comment
Fixed in Informix Server 14.10.xC7.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.04.2021
01.11.2021
01.11.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)