Dear folks,
I try to compile and link a OO Cobol program, but the link-step abends with the messages:
IEW2456E 9207 SYMBOL GetJVMPtr UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL GetEnvPtr UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL GetClassObject UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
I modified the sample JCL in the "COBOL programming guide" example. Maybe the following lines of the JCL are relevant:
//OBJMOD DD DISP=SHR,DSN=*.COMP001.SYSLIN
//SYSDEFSD DD DUMMY
//SYSLIN DD *
INCLUDE '/usr/lpp/java/J5.0/bin/j9vm/libjvm.x'
INCLUDE '/usr/lpp/cobol/lib/igzcjava.x'
INCLUDE OBJMOD
If I delete the "INCLUDE OBJMOD" line, the messages disappear, but of course the Object is needed in this statement.
I compiled the example Hello1.java file with omvs and the class is located in /u/myuserid where I also set the classpath to. (Don't know if it is important)
Can somebody make an educated guess what is going wrong here?
Thank you very much in advance!