Top COBOL Error Handling Statements

Handling error is common in any programming language. In COBOL, you need to remember few phrases to handle errors. I have listed here for your quick read.

  1. AT END
  2. NOT AT END
  3. END-OF-PAGE
  4. NOT END-OF-PAGE
  5. INVALID KEY
  6. NOT INVALID KEY
  7. NO DATA
  8. WITH DATA
  9. ON EXCEPTION
  10. NOT ON EXCEPTION
  11. ON OVERFLOW
  12. NOT ON OVERFLOW
  13. ON SIZE ERROR
  14. NOT ON SIZE ERROR

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.