7 67 2 LEAVE Comments Warnings

LANSA Technical

7.67.2 LEAVE Comments / Warnings

The LEAVE loop modifying command operates as follows:

                   < loop command >

              ---- LEAVE

             |

             |     < end loop command >

              --->

 

The < loop command > and < end loop command > can be any of the following:

  • SELECT / ENDSELECT
  • SELECTLIST / ENDSELECT
  • SELECT_SQL / ENDSELECT
  • DOWHILE / ENDWHILE
  • DOUNTIL / ENDUNTIL
  • BEGIN_LOOP / END_LOOP.