cancel
Showing results for 
Search instead for 
Did you mean: 

Access to DB2 on AS400 from ABAP on AS400

Former Member
0 Kudos

Hi,

I try to connect to DB2 on AS400 from ABAP on AS400.

The configuration of DBCO is done and when try connect from ABAP the system shows a dump with message "DBIF_DSQL2_CONNECTERR".

When I ejecute the program "ADBC_TEST_CONNECTION" occurs error "DBI error 16".

Someone knows this problem and how to solve?

Regards,

Alvaro

Accepted Solutions (0)

Answers (1)

Answers (1)

Edgardo
Employee
Employee
0 Kudos

Hi Alvaro,

Unfortunately, the error "DBI error 16" is a quite general error and does not provide much information at the first sight.

For example, if configuration fields are wrong or password is wrong, you get such an error code.

You can find more information about the cause of the problem in the dev trace file. Therefore, I should first look for it there.

To get an overview, on how to configure a secondary connection, you can have a look at SAP Note 146624 - i5/OS: Database Multiconnect for IBM DB2 for i5/OS

I hope this helps.

Best regards,

Edgardo Gildo König