---
title: "Top COBOL Error Handling Statements"
description: "Handling errors in COBOL and the list of common phrases useful to use in your programs"
url: https://srinimf.com/2015/08/21/cobol-different-error-handling-phrases/
date: 2015-08-21
modified: 2026-10-07
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/08/pexels-photo-54539.jpeg?fit=1880%2C1214&ssl=1
categories: ["COBOL"]
tags: ["Handling Errors in COBOL"]
type: post
lang: en
---

# 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

Related[10 PLI Key Error Handling Phrases](https://srinimf.com/2011/10/17/pli-handling-conditional-erros/)

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F08%2F21%2Fcobol-different-error-handling-phrases%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F08%2Fpexels-photo-54539.jpeg%3Ffit%3D1200%252C775%26ssl%3D1&description=Top%20COBOL%20Error%20Handling%20Statements)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/08/21/cobol-different-error-handling-phrases/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/08/21/cobol-different-error-handling-phrases/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/08/21/cobol-different-error-handling-phrases/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/08/21/cobol-different-error-handling-phrases/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20Top%20COBOL%20Error%20Handling%20Statements&body=https%3A%2F%2Fsrinimf.com%2F2015%2F08%2F21%2Fcobol-different-error-handling-phrases%2F&share=email)
-

### Like this:

Like Loading…
