home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC12 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 IT45693 Status: Closed

DBIMPORT IS RETURNING 201 ERROR WHILE IMPORTING A PROCEDURE/FUNCTION WITH
CREATE OR REPLACE SYNTAX

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
dbimport is throwing 201 error while importing a
procedure/function with create or replace procedure/function
syntax.


create or replace procedure "informix".sample_proc2 ( percent
INT,unit INT,grade CHAR )
.....
end procedure;

create or replace procedure "informix".sample_proc4 ( percent
INT,unit INT,grade CHAR ) returning INTEGER
......
RETURN 0;
end procedure;

create or replace function "informix".sample_func6 ( percent
INT,unit INT,grade CHAR ) returning INTEGER
...........
RETURN 0;
end function;

dbimporting these create or replace procedure/function failed
with 201 error.

create or replace function "informix".sample_func6 ( percent
INT,unit INT,grade CHAR ) returning INTEGER

UPDATE customer SET fname="kkkk" where customer_num=104;
*** prepare sqlobj
201 - A syntax error has occurred.

When changed the syntax from create or replace function to
create function it worked.
Same issue can be seen with create or replace procedure as well.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC11.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC11.                       *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC11.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC11.                       *
****************************************************************
Comment
Fixed in Informix Server 14.10.xC11.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.03.2024
12.06.2024
12.06.2024
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)