 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ralf Grenzing Guest
|
Posted: Wed Jun 14, 2006 3:43 pm Post subject: prepared command (or instruction) S000002 not found error |
|
|
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
|
Posted: Wed Jun 21, 2006 3:43 am Post subject: Re: prepared command (or instruction) S000002 not found erro |
|
|
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
|
Posted: Wed Jun 21, 2006 2:38 pm Post subject: Re: prepared command (or instruction) S000002 not found erro |
|
|
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 |
|
 |
|
|
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
|
|