Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client Access ODBC To AS400 4

Status
Not open for further replies.

Skittle

ISP
Sep 10, 2002
1,528
US
This isn't really an RPG question but its the best place I can think of to get help on this one. I didn't get any help from the ODBC forum.

I have a VB program that reads a file on the AS400 via ODBC
using a connection string:-

objConn02.Open "Provider=IBMDA400Data
Source=99.99.99.99;", "myuser", "mypassword"

The trouble is that if I have not started Client Access and
signed on to a normal emulation screen, I get an error on the attempt to connect:-

Run Time Error '-2147217843' (80040e4d)
[IBM][Client Access Express ODBC Driver (32-bit)]
Communication link failure .comm rc=8270 - CWBSY0270 - User profile will be disabled with next invalid password, password length = 0, prompt mode = never, system ip address = 99.99.99.99".

If I start Client Access it works fine.
Is there somthing I need to do with Client Access in addition to creating the ODBC link?

Dazed and confused
 
Thanks again everynoe.

If nothing else, I think the key thing I've learnt is to use the OLE DB Access provider. It seems to cover everything and is easier to use. I had dug up a couple of books that indicated API's were the way to go...they are of course out of date!

in the fire they go.

:eek:)


Dazed and confused
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top