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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi2009 Data Explorer CA400 Add New Connection

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
0
0
IE
Can anyone help me with this?

I am trying to add a new AS400 connection.

I have edited dbxdrivers.ini thus;

Code:
[CA400]
GetDriverFunc=getSQLDriverCA400
LibraryName=dbexpca400.dll
VendorLib=cwbdb.dll
Database=MYAS400
User_Name=
Password=
ServerCharSet=
ErrorResourceFile=
LocaleCode=0000
BlobSize=-1
RowsetSize=-1
RoleName=
CA400 TransIsolation=DirtyRead
CommitRetain=True
AutoCommit=True
Custom String=/trace=0
Connection Timeout=-1
Trim Char=False

[CA400 TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2

I can connect via IBM Client Access.

How do I setup a new connection in Data Explorer?

I have tried but keep getting

Borland.Data.TDBXError: cwbDB_SetAutoCommit returned error code 1.

I have tried setting
AutoCommit=False
but get the same error.

I have never setup an AS400 connection and think I am making some basic error. Any help would be greatly appreciated.

Regards,


 
I never used dbexpress.
Give ODBC in combination with dbGo (ADO) a shot.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
and no need to create a second thread for the same problem...

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
I can connect via dbgo and BDE but really need to connect via DBexpress.
 
Never got this to work. Had to use ADO which works fine. Would love to know if anyone has got dbexpress driver to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top