An imperative statement specifies either an unconditional action to be taken by the program or a conditional statement terminated by its explicit scope terminator.

A series of imperative statements can be specified wherever an imperative statement is allowed. A conditional statement terminated by its explicit scope terminator is also classified as an imperative statement.The below lists specify the COBOL imperative statements.

Arithmetic (Without the ON SIZE ERROR or the NOT ON SIZE ERROR phrase) -

Data Movement -

Ending -

Input-output -

  • ACCEPT identifier
  • CLOSE
  • DELETE (Without the INVALID KEY or the NOT INVALID KEY phrase)
  • DISPLAY
  • OPEN
  • READ (Without the AT END or NOT AT END and INVALID KEY or NOT INVALID KEY phrases)
  • REWRITE (Without the INVALID KEY or the NOT INVALID KEY phrase)
  • START (Without the INVALID KEY or the NOT INVALID KEY phrase)
  • STOP literal
  • WRITE (Without the INVALID KEY or NOT INVALID KEY, and END-OF-PAGE or NOT END-OF-PAGE phrases)

Ordering -

Procedure-branching -

Program or method linkage -

  • CALL (Without the ON OVERFLOW phrase, and without the ON EXCEPTION or NOT ON EXCEPTION phrase)
  • CANCEL
  • INVOKE

Table-handling -