COBCH1807 SET SIZE UP DOWN can only be used for single dimensional tables

The program contains the syntax SET SIZE OF table-name UP/DOWN BY … that is not within a single-dimensional array. This is not allowed.

Resolution:

Correct the code; then recompile.

Example:

In the following example, the SET SIZE OF syntax is used in a two-dimensional array.

           declare myArray as byte occurs 3 5
           set size of myArray up by 4 20