For multi-dimensional tables, only the composite subscript is checked. If any of the individual subscripts or indices is beyond
its limit, but the reference remains within the table, no error is produced.
For
JVM COBOL code, even if NOBOUND is set, the
JVM will still throw an IndexOutOfRangeException if the bounds of the array are exceeded.
Comments:
For multi-dimensional tables, only the composite subscript is checked. If any of the individual subscripts or indices is beyond its limit, but the reference remains within the table, no error is produced.
For JVM COBOL code, even if NOBOUND is set, the JVM will still throw an IndexOutOfRangeException if the bounds of the array are exceeded.