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 

Delphi5 + DB2 + AS400

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi As400
View previous topic :: View next topic  
Author Message
Augusto
Guest





PostPosted: Wed Mar 03, 2004 4:30 pm    Post subject: Delphi5 + DB2 + AS400 Reply with quote



Hello all!!

Is there a way to connect Delphi 5 with a db2 7-8 runnning on a AS400.

I'm using BDE and i need to run stored procedures.

I'ts very important because we have a client that uses this server with this
db and my application was developed in delphi 5 using bde

Thanks in advance

Augusto

Benner Tecnologia de Sistemas
[email]augusto (AT) bennersaude (DOT) com.br[/email]

Brasil


Back to top
Mark Smits
Guest





PostPosted: Thu Mar 04, 2004 10:28 am    Post subject: Re: Delphi5 + DB2 + AS400 Reply with quote



On Wed, 3 Mar 2004 13:30:13 -0300, "Augusto"
<augusto (AT) bennersaude (DOT) com.br> wrote:

Quote:
I'm using BDE and i need to run stored procedures.

I'ts very important because we have a client that uses this server with this
db and my application was developed in delphi 5 using bde

If you are using the BDE then you will have to use ODBC.

The AS400 usually comes with a product called "iSeries Access" (or the
old names "Client Access Express" or just plain "Client Access". This
is client software to connect to the AS400.

That product comes with an ODBC driver (and ADO driver for that
matter). So you need to install that so you can use it.


Met vriendelijke groeten,
Mark Smits
--
[email]Smits (AT) Com-Unit (DOT) com[/email]

Com-Unit BV, The Netherlands.
The makers of Spider-Road®.

Back to top
Augusto
Guest





PostPosted: Thu Mar 04, 2004 11:18 am    Post subject: Re: Delphi5 + DB2 + AS400 Reply with quote



Hi!

Thanks a lot for your help!

Is there any issues about tips and techinics to use odbc with delphi 5
native data access components, like params for stored procedures?

Another point is, that I will probably using a application server with
AS/400

How do I proceed with the connection

Thanks again

Augusto


"Mark Smits" <x@x> escreveu na mensagem
news:s70e40973gtrm33pslleiknl6srvdtkrp6 (AT) 4ax (DOT) com...
Quote:
On Wed, 3 Mar 2004 13:30:13 -0300, "Augusto"
[email]augusto (AT) bennersaude (DOT) com.br[/email]> wrote:

I'm using BDE and i need to run stored procedures.

I'ts very important because we have a client that uses this server with
this
db and my application was developed in delphi 5 using bde

If you are using the BDE then you will have to use ODBC.

The AS400 usually comes with a product called "iSeries Access" (or the
old names "Client Access Express" or just plain "Client Access". This
is client software to connect to the AS400.

That product comes with an ODBC driver (and ADO driver for that
matter). So you need to install that so you can use it.


Met vriendelijke groeten,
Mark Smits
--
[email]Smits (AT) Com-Unit (DOT) com[/email]

Com-Unit BV, The Netherlands.
The makers of Spider-Road®.



Back to top
Mark Smits
Guest





PostPosted: Thu Mar 04, 2004 1:17 pm    Post subject: Re: Delphi5 + DB2 + AS400 Reply with quote

On Thu, 4 Mar 2004 08:18:39 -0300, "Augusto"
<augusto (AT) bennersaude (DOT) com.br> wrote:

Quote:
Hi!

Thanks a lot for your help!

Is there any issues about tips and techinics to use odbc with delphi 5
native data access components, like params for stored procedures?

Another point is, that I will probably using a application server with
AS/400

How do I proceed with the connection


I actually have little experience with it all. Never got a chance to
do the project which we were going to, so mamy years ago Sad Other
priorities and so on...

I just did some very small test projects with some simple selects
throught ODBC and a very small app with ADO components.

As far as I know there are no real pitfalls with the BDE data access
components. We only had some problems with BLOB's and ADO.

Hope this helps.


Back to top
Parallax
Guest





PostPosted: Fri Mar 05, 2004 6:37 am    Post subject: Re: Delphi5 + DB2 + AS400 Reply with quote

Dont Use ODBC if the query is very big and you kill the app tre process is
not terminated

in Delphi 5 use ADOExpress with OLEDB Provider of IBM site download. is
batch , not online , much better performance



"Mark Smits" <x@x> escribió en el mensaje
news:oqae40tkruhqf6il2n1dlip2umc6579bhk (AT) 4ax (DOT) com...
Quote:
On Thu, 4 Mar 2004 08:18:39 -0300, "Augusto"
[email]augusto (AT) bennersaude (DOT) com.br[/email]> wrote:

Hi!

Thanks a lot for your help!

Is there any issues about tips and techinics to use odbc with delphi 5
native data access components, like params for stored procedures?

Another point is, that I will probably using a application server with
AS/400

How do I proceed with the connection


I actually have little experience with it all. Never got a chance to
do the project which we were going to, so mamy years ago Sad Other
priorities and so on...

I just did some very small test projects with some simple selects
throught ODBC and a very small app with ADO components.

As far as I know there are no real pitfalls with the BDE data access
components. We only had some problems with BLOB's and ADO.

Hope this helps.




Back to top
Ralf Grenzing
Guest





PostPosted: Thu May 27, 2004 2:17 pm    Post subject: Re: Delphi5 + DB2 + AS400 Reply with quote

Hi

You can also use the EasyCom BDE SQL Links. They are very fast and realible. You
can also call SPs with the BDE. We uses that quite a lot.

best regards

Ralf Grenzing

Augusto schrieb:

Quote:
Hello all!!

Is there a way to connect Delphi 5 with a db2 7-8 runnning on a AS400.

I'm using BDE and i need to run stored procedures.

I'ts very important because we have a client that uses this server with this
db and my application was developed in delphi 5 using bde

Thanks in advance

Augusto

Benner Tecnologia de Sistemas
[email]augusto (AT) bennersaude (DOT) com.br[/email]

Brasil


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi As400 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.