× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Spot on! Stay with the documentation and product that is specific to IBM i and Access Client Solutions - there's a lot of stuff for IBM Db2 that never quite seems to line up with the specific flavor of Db2 on the i - that flavor is in the family but I always find I do best staying with what the IBM i team has provided.


Again, bon chance!
Vern

On Wed, 27 Mar, 2024 at 4:30 PM, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:


To: midrange-l@xxxxxxxxxxxxxxxxxx

I wish i could, but its been too long.
you might get some help from the previous replies and the knowledge center:
https://www.ibm.com/docs/en/i/7.5?topic=programming-net-provider

Bryan

smith5646midrange@xxxxxxxxx<mailto:smith5646midrange@xxxxxxxxx> wrote on 3/27/2024 3:52 PM:
Thanks Bryan. That kind of helped. I found IBM.Data.DB2.iSeries.dll. It
appears to have IBM.Data.DB2 inside of it.

Every sample program that I can find references DB2Connection. It appears
that IBM.Data.DB2 has iDB2Connection not DB2Connection.

I have tried to use it but I get an error that my connection string is
invalid. Here is my connection string.

string myConnString = "Server=192.168.1<http://192.168.1>.91; Database=MIDOHIO;
UID=JSMITH; PWD=myPassword;";

If I do STRSQL it responds "Current connection is to relational database
MIDOHIO." so I am assuming that MIDOHIO is the "Database" in the string.

Do you see what is wrong with this?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.