Save 
Join IIUG
 for   
 

Informix News
29 July 09 - Wall Street Journal - IBM to Acquire SPSS, Adding to Acquisitions... Read
11 February 09 - InformationWeek - IBM Drifts Slowly Toward Mainstream Cloud Computing... Read
11 February 09 - CNNMoney.com - IBM to Deliver Software via Cloud Computing With Amazon Web Services... Read
07 January 09 - Huliq News - IBM Power Servers Helps Bank of Chengdu Build Up Core Banking System.. Read
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read


End of Support Dates

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: roblem with stored procedure after migration

Posted By: Art Kagel
Date: Tuesday, 1 December 2009, at 9:39 a.m.

In Response To: roblem with stored procedure after migration (FABIAN HORN)

There's a missing closing parenthesis at the end of the procedure's argument
list. Is that a type here or an indicator that the procedure really fails
to be created?

Art

Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.

On Tue, Dec 1, 2009 at 1:51 AM, FABIAN HORN <fabian.horn@zivit.de> wrote:

> Hello,
>
> After the migration (dbimport) from Informix 7.31 – 11.5 we have trouble
> with
> stored procedures.
> Every time we starts the stored procedure with our application the
> procedure
> crash with error code 674 Routine (pi_stellen) can not be resolved!!!
> The fault is that, every procedure (not only this example) crashes when the
> stored procedure makes an “insert into” with byte values!! In informix 7.31
> the procedures runs without any problems.
>
> We have tried the following:
>
> • Changed from byte into text also did not help. The error code is the
> same!
> • We have tested the other attributes and everything is OK
> • If we change the byte value into a varchar value the application runs!
> But
> this is no solution for us.
> • Import the values via load runs too.
>
> Sorry for my bad English and thanks!!!
>
> Here is one of the stored procedure, p_Langnotiz is the problem:
>
> CREATE PROCEDURE pi_stellen(
> p_Kapitel SMALLINT,
> p_ID SMALLINT ,
> p_Begin DATETIME YEAR TO FRACTION(5) ,
> p_Kurznotiz VARCHAR(100,30) ,
> p_Langnotiz references byte ,
> p_Stellentyp_id integer ,
> p_Abgang INTEGER
>
> RETURNING INTEGER;
>
> DEFINE GLOBAL gvsRepID char(4) DEFAULT NULL;
> DEFINE HNr integer;
> LET HNr = 0;
>
> IF gvsRepId IS NULL THEN
>
> RAISE EXCEPTION -746, 0, 'Replikations-ID fehlt';
>
> ELSE
>
> CALL pG_Sys_NrServer( p_ID) RETURNING HNr;
>
> IF HNr > 0 THEN
>
> INSERT INTO HH_Stellen
>
> (Kapitel, ID, Begin, Kurznotiz, Langnotiz, Stellentyp_Id, Abgang )
>
> VALUES
>
> (p_Kapitel, p_ID, p_Begin, p_Kurznotiz, p_Langnotiz, p_Stellentyp_Id,
> p_Abgang);
>
> END IF;
> END IF;
> RETURN HNr;
>
> END PROCEDURE
>
> ----
>
> The table for the insert:
>
> ----
>
> create table stellen
> (
>
> Kapitel smallint,
>
> ID smallint,
>
> Begin date not null ,
>
> Kurznotiz varchar(100,30),
>
> Langnotiz byte,
>
> Stellentyp_id integer not null ,
>
> Abgang integer
>
> ) extent size 16 next size 16 lock mode row;
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--00151747bfe22258630479abb9c2

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.