This function generates an array object for non-object elements which is initialized with binary zeros.
It is equivalent to the JNI functions New<PrimitiveType>Array
.
Call
CALL 'JCI_NewArray' USING
num arg res
num | Number of elements |
arg | Element description |
res | Result description |
Arguments
num | Data field of the type Number of elements in the array. |
arg | A structure of the form |
r | A structure of the form |
Return value (RETURN-CODE)
JCI-RET-OK
The call was successful.
JCI-RET-ENOVM
No Java VM has been started.
JCI-RET-EINDAOB
num is less than 0.
JCI-RET-EARGVERS
The statically generated version number in elem is invalid (possibly overwritten).
JCI-RET-ERESVERS
The statically generated version number in res is invalid (possibly overwritten).
JCI-RET-EARGTYPE
The value of the ArgType
field is invalid.
JCI-RET-ERR
The array object could not be generated.
Exceptions
The exceptions generated by the function correspond to those of the JNI functions New<PrimitiveType>Array
.