Absent Member.
Absent Member.

Can not connect to oracle 11g db

Hi all,

I am using visual COBOL for Eclipse on Window and trying to connect to Oracle DB.

I set DBMAN = JDBC but my received output:

SQLCODE = -0000000009

MFSQLMESSAGETEXT = Got minus one from a read call

Anyone hepl me?

Best regard!

1 Reply
Micro Focus Expert
Micro Focus Expert

How are you trying to connect, thru a JDBC Connection String or a JDBC DataSource Object? What is the connection string you are using?

Can you connect to Oracle on this computer thru Java or thru SQL Developer, etc?

There is a section in the documentation as well as a tutorial on how to set up a JDBC connection here:

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.