
- CICS Tutorial
- CICS - Home
- CICS - Overview
- CICS - Environment
- CICS - Basic Terms
- CICS - Nucleus
- CICS - Transactions
- CICS - COBOL Basics
- CICS - BMS
- CICS - MAP
- CICS - Interface Block
- CICS - Pseudo Programming
- CICS - Aid Keys
- CICS - File Handling
- CICS - Error Handling
- CICS - Control Operations
- CICS - Temporary Storage
- CICS - Intercommunication
- CICS - Status Codes
- CICS - Interview Questions
- CICS Useful Resources
- CICS - Quick Guide
- CICS - Useful Resources
- CICS - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CICS - Ignore Condition
Ignore condition is used when we want no action to be taken if a particular abend or error happens which is mentioned inside the Ignore Condition. Following is the syntax of Ignore Condition −
Syntax
EXEC CICS IGNORE CONDITION CONDITION(Label) END-EXEC.
Example
The following example shows how to use Ignore Condition in a program. It will not abend the program even if the program throws length error as we have mentioned LENGERR inside the Ignore condition.
IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. PROCEDURE DIVISION. EXEC CICS IGNORE CONDITION LENGERR END-EXEC.
cics_error_handling.htm
Advertisements