OCI-33557
(MAINTCHK01) %a string workspace object
You cannot %1p values of dimension %2p during a loop over it.
You cannot %1p values of dimension %2p during a loop over it.
Cause
An attempt was made to insert or delete a value of the specified dimension while some loop over that dimension was active.
- The loop could be an explicit FOR or ACROSS loop, or a natural
expression evaluation or OLAP_TABLE loop.
- The loop could be over the dimension itself or over a
derived dimension (like a composite or partition template) or dimension alias that included it.
- The insert or delete could be explicitly caused by the MAINTAIN
command.
- An attempt to assign a value to a variable or partition
dimensioned by a composite during a loop over that composite using a qualified data reference (QDR), and that the exception was generated by the engine's attempt to insert a new position in the composite to hold the new value.
Action
Move the dimension maintenance or QDR-based variable assignment outside the dimension loop.