Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

test connection using dbco

Former Member
20,912

Dear All,

I have configured my tnsnames.ora for connection to an external Oracle DB.

I am successfully getting ping for tnsping for that db.

I've also configured my dbco.

But my below code is giving sy-subrc = 4.

EXEC SQL.

CONNECT TO 'AWL'

ENDEXEC.

Also i would like to know if there is any method to check whether my dbco entry is working ok.

Thanks in anticipation

1 ACCEPTED SOLUTION
Read only

Former Member
8,803

hi

You can check if the connection is working by running report ADBC_TEST_CONNECTION.

regards

Nishant

3 REPLIES 3
Read only

Former Member
0 Likes
8,803

Hi,

Check if this helps.

check methods in class

CL_SQL_CONNECTION

Regards,

Amit

Read only

Former Member
8,804

hi

You can check if the connection is working by running report ADBC_TEST_CONNECTION.

regards

Nishant

Read only

0 Likes
8,803

HI Nishant ,

thanks for reply ,

Regards

Kumar