Use Procob in Visual Cobol 3.0 with managed code (Java / JDBC)

Hello,

I have a program with SQL which is compiled to Java bytecode. When I add the additional directives "p(cobsql) csqlt==oracle endp" in Project Properties > Micro Focus > Build Configuration, I get the error:

    * CSQL-F-048: Cobsql is not supported for use with managed code.

Instead of p(cobsql)... I added the directive SQL(PROCOB). Then I get the error:

    COBES0121S SQL(PROCOB) is only valid with SQL(DBMAN=ADO)

After adding this directive, the following error occurs:

  COBCH1572S ILREF directive has invalid type name 'MicroFocus.COBOL.SqlCLR.RunTime.dll'

which is not documentated.

According to the documentation this only works with .NET (http://documentation.microfocus.com/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-3492935C-7CBE-4055-A831-B2892E9EB056.html&cp=5_5_2_2_0_9_0_2_51).

Is it even possible to compile programs with Oracle SQL in Java byte code?

 

Best regards

Paul

 

 

 

 

 

SQL(PROCOB)