The RESIZE statement modifies the size of the designated array row, subarray, or array.
| Note: | The RESIZE statement cannot be used for task arrays. |
<resize statement>
── RESIZE ── ( ─┬─<array row resize parameters>─────┬─ ) ──────────────┤
└─<special array resize parameters>─┘
The RESIZE statement changes the upper bounds of the appropriate dimensions of an array. The resize parameters designate the array row or rows to be changed and the new sizes of those rows.
Note that if the RESIZE statement is used on other than the highest-order dimension of an array, the array can contain subarrays of different sizes.
When the initial size of an array is to be chosen dynamically by a program, the most efficient technique is to declare the array with a variable upper bound, the bound being a global variable or a parameter computed before the procedure or block is entered.
There are two forms of the RESIZE statement: the <array row resize parameters> form and the <special array resize parameters> form.

