Skip to main content

Can not connect to oracle 11g db

  • April 27, 2016
  • 1 reply
  • 0 views

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!


#COBOLENVIRONMENT
#Eclipse
#COBOLSQLCOBSQL
#EXECSQL

1 reply

Chris Glazier
Forum|alt.badge.img+2

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!


#COBOLENVIRONMENT
#Eclipse
#COBOLSQLCOBSQL
#EXECSQL

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: