BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

prepared command (or instruction) S000002 not found error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Ralf Grenzing
Guest





PostPosted: Wed Jun 14, 2006 3:43 pm    Post subject: prepared command (or instruction) S000002 not found error Reply with quote



Hi all,

we are trying to migrate our Delphi 5 BDE Win32 application to ADO and
Delphi 2006 with Update 2 installed. We are accessing a iSeries (aka
AS400). With some queries we receiving the the above error. Original in
German "SQL0518: Vorbereitete Anweisung S000002 nicht gefunden".

It is really wired because some SQL Statements runs and trying the VERY
SAME SQL over ODBC works great, too!

Does anybody has an idea?

best regards

Ralf Grenzing
Back to top
Michael Jacobs
Guest





PostPosted: Wed Jun 21, 2006 3:43 am    Post subject: Re: prepared command (or instruction) S000002 not found erro Reply with quote



Hi Ralf,

It sounds as though you missed something when migrating it to ADO. it
would be helpful to see the code and statement.

Michael
"Ralf Grenzing" <RalfGSpam (AT) gmx (DOT) de> wrote in message
news:448fe7c2 (AT) newsgroups (DOT) borland.com...
Quote:
Hi all,

we are trying to migrate our Delphi 5 BDE Win32 application to ADO and
Delphi 2006 with Update 2 installed. We are accessing a iSeries (aka
AS400). With some queries we receiving the the above error. Original in
German "SQL0518: Vorbereitete Anweisung S000002 nicht gefunden".

It is really wired because some SQL Statements runs and trying the VERY
SAME SQL over ODBC works great, too!

Does anybody has an idea?

best regards

Ralf Grenzing
Back to top
Ralf Grenzing
Guest





PostPosted: Wed Jun 21, 2006 2:38 pm    Post subject: Re: prepared command (or instruction) S000002 not found erro Reply with quote



Hi Jacobs,

thank you very much for taking the time to answer my question.

The problem seems to be that the OLE DB driver part on the server side
has "some" problems. We now ordered the CDs with the patches.

So a message for everyone who has problems with ADO and iSeries / AS400:
get all fixes!

best regards

Ralf Grenzing - OPUS//G

Michael Jacobs schrieb:
Quote:
Hi Ralf,

It sounds as though you missed something when migrating it to ADO. it
would be helpful to see the code and statement.

Michael
"Ralf Grenzing" <RalfGSpam (AT) gmx (DOT) de> wrote in message
news:448fe7c2 (AT) newsgroups (DOT) borland.com...
Hi all,

we are trying to migrate our Delphi 5 BDE Win32 application to ADO and
Delphi 2006 with Update 2 installed. We are accessing a iSeries (aka
AS400). With some queries we receiving the the above error. Original in
German "SQL0518: Vorbereitete Anweisung S000002 nicht gefunden".

It is really wired because some SQL Statements runs and trying the VERY
SAME SQL over ODBC works great, too!

Does anybody has an idea?

best regards

Ralf Grenzing

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.