Attempting to clear a shelf being used in a repeat over.
#6007 Run-time catchable error
Attempting to clear a shelf being used in a repeat over.
Additional Information
For STREAM/COUNTER/SWITCH 'X'.
BEFORE/AFTER item Y, repeat over size of Z.
Explanation
It is not allowed to clear a shelf subject to a repeat over
action.