I am facing an issue while using the sample Acucobol program to call Java from cobol. I have small piece of code in my cobol program as :
CALL "C$JAVA" USING CJAVA-CALLSTATIC "C:\\Javaprojects\\TestCobol2Java\\bin\\CobolCallingJava", "CobolCallingJavaInt", "(I)I", FIELD-INT, FIELD-RET GIVING STATUS-VAL
it returns status-val as "-3" which seems classnot found
I have tried with both with or without pathing but it results same. Java program cobolcallingjava.class reside at C:\\Javaprojects\\TestCobol2Java\\bin and cobolcallingjava.acu reside at c:\\maint\\object. I am using Acubench 720 where I could not find the config file. so I modified the cblconfig file as per instructions file. Where do I need to place the config file and keep cobol & java code.? I suspect issue is with different locations. Appreciate your help!
#JavaClass



