Explicit scope terminators

An explicit scope terminator marks the end of certain PROCEDURE DIVISION statements.

A conditional statement that is delimited by its explicit scope terminator is considered an imperative statement and must follow the rules for imperative statements.

These are the explicit scope terminators:

  • END-ADD
  • END-CALL
  • END-COMPUTE
  • END-DELETE
  • END-DIVIDE
  • END-EVALUATE
  • END-IF
  • END-MULTIPLY
  • END-PERFORM
  • END-READ
  • END-RETURN
  • END-REWRITE
  • END-SEARCH
  • END-START
  • END-STRING
  • END-SUBTRACT
  • END-UNSTRING
  • END-WRITE
  • END-XML