Library /sys$common/syshlp/SQL$HELP_OLD72.HLB  —  FOR Control, Format
  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 --+
Close Help