on 05-23-2007 10:16 PM
Hello All,
I've gone thru all the posting and various SAP notes but still not able to connect to the external DB2 system on AS400 using ABAP. Here is the error I'm getting:
**********************************************************************************
ShrtText
Error setting up a secondary database connection.
What happened?
It is impossible to connect to a database system with the identifier
"CON_NAME".
**********************************************************************************
Here is the entry in DBCON :
DB Connection: CON_NAME
DBS: DB4
User Name: USERNAME
DB password: PASSWORD
Connection info.: AS4_HOST=HOST;AS4_DB_LIBRARY=LIBRARYNAME;AS4_QAQQINILIB=FILENAME;
Permanent: X
Connection Limit: 0
Optimum Conns: 0
I'm getting the above error at the time of establishing the connection:
EXEC SQL.
SET CONNECTION :CON_NAME
ENDEXEC.
The database server job is running on the remote DB server. Also I'm able to connect to the DB on the application server using Client Access and ODBC.
I would appreciate any help in this regard.
Cheers!
Sajal
Hello Sajal,
the general points described in notes 323151 and 780891 (ok, ok - I know that is for ORA, but idea is the same):
- you need to maintain DBCON entry
- you need proper dbdb*slib.dll for Windows in SAP kernel folder
- you need DB2 client for Windows installed on your machine
I think you can find some details to DB2 client on Windows in installationi guide.
The statement above is valid if you run your dialog instance on Windows.
best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sajal,
Have you resolved this issue? If so, would you mind sharing the solution? I'm trying to work through this same issue.
Thanks!
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.