471,091 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,091 software developers and data experts.

DbII and .net

Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano
Jul 21 '05 #1
3 1476
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a
number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which
is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for
DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs,
transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano

Jul 21 '05 #2
Thank you very much.
I can try the AS400 so after I can tell you if it works!
Regards
Valeria
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> ha scritto nel
messaggio news:%2****************@TK2MSFTNGP09.phx.gbl...
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs, transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano


Jul 21 '05 #3
DB2
You can also try StarSQL from StarQuest (www.starquest.com) which is
also a driver for DB2,

Bob

"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message news:<#K**************@TK2MSFTNGP09.phx.gbl>...
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a
number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which
is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for
DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs,
transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.