[Migrated content. Thread originally posted on 17 May 2012]
Hello,I am trying to obtain the values of an array from a Java program, using a Visual COBOL program, this way (this has been taken from the example 'Using the JArray Class"):
01 arrayElement pointer.
invoke wsTable "getElement" using
by value CDims
by reference Dims
by reference arrayElement
The problem is that the values I am trying to access are String values in Java, and I do not know exactly how to do it. I am able to obtain the array dimensions but not capable to show the String values through the screen.