[Migrated content. Thread originally posted on 16 February 2011]Hi,
i'm trying to make a sample in Visual Cobol with CobolJVM.
I want to use SQL and generate XML files.
But when i use XML GENERATE i get the following compilation error :
[cobol] COBCH1545S Feature not yet supported when compiling for JVM
Is this for a next release ?
When i want to use EXEC SQL i get the following compilation error :
[cobol] * ILOUTPUT"C:\viscob\RMCobolJava\bin\" ERRFORMAT(2) NOQUERY NOERRQ
[cobol] COBES0123S Invalid ILTARGET - can not use ILTARGET(ANYCPU) - must specify ILTARGET(X86), ILTARGET(X64) or ILTARGET(ITANIUM)
Now when using CobolJVM we just want to avoid having multiple versions of the software for multiple platforms,
so adding X86 or X64 is not really want one wants to do for a java application.
After adding $set ILTARGET(X86) in the source i get the following when compiling :
[cobol] Execution error : file 'ilgen'
[cobol] error code: 114, pc=0, call=1, seg=0
[cobol] 114 Attempt to access item beyond bounds of memory (Signal 11)
Am i using the wrong directives ?