for-statement = -+------------------------+-> FOR <variable-name> --------------+ +--> <beginning-label> : + | +---------------------------------<----------------------------+ +--> AS -+----------------+-+--------------------------------+-+ +-> EACH ROW OF -+ +-> for-statement-table-cursor --+ | +----------------------------------<---------------------------+ +--> select-expression --> DO --+-> compound-use-statement --+-+ +--------------<-------------+ | +-----------------------------------<--------------------------+ +--> END FOR -+------------------+-> +-> <ending-label> + for-statement-table-cursor = ---+-----------------+--+-----------+-> CURSOR <cursor-name> FOR --> +-> READ ONLY ----+ +-> TABLE --+ +-> UPDATE ONLY --+