Skip to main content

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

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: