Getting and Setting Array Regions

You set array regions using the CJAVA-SETARRAYREGION op-code. This op-code takes a Java array object copies the elements from a COBOL table data item into a specified range. Getting array regions is done using a similar op-code, CJAVA-GETARRAYREGION. This op-code takes a Java array object, gets the specified range of elements, and copies them into a COBOL table data item.