- CICS - Interview Questions
- CICS - Status Codes
- CICS - Intercommunication
- CICS - Temporary Storage
- CICS - Control Operations
- CICS - Error Handling
- CICS - File Handling
- CICS - Aid Keys
- CICS - Pseudo Programming
- CICS - Interface Block
- CICS - MAP
- CICS - BMS
- CICS - COBOL Basics
- CICS - Transactions
- CICS - Nucleus
- CICS - Basic Terms
- CICS - Environment
- CICS - Overview
- CICS - Home
CICS Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
CICS - Error Handpng
There are many types of abends and errors which one can face while using a CICS apppcation. Errors can arise due to both hardware of software issues. We will be discussing about errors and error handpng in this module.
CICS Errors
Following are the CICS errors which can arise during the execution of CICS apppcations −
Some expected CICS errors arise when the conditions are not normal in the CICS system. For example, if we are reading a particular record and the record is not found, then we get the "Not Found" error. Mapfail is a similar error. Errors in this category are handled by exppcit logic in the program.
Logical errors arise due to some reasons pke spanision by zero, illegal character in numeric field, or transaction id error.
Errors that are related to hardware or other system conditions are beyond the control of an apppcation program. For example, getting input/output error while accessing a file.
Error Handpng Commands
CICS provides several mechanisms to identify the errors and to handle them in our programs. Following are the commands which are used to handle the expected CICS errors −
Sr.No | Handpng Commands & Description |
---|---|
1 | Handle condition is used to transfer the control of the program to a paragraph or a procedure label. |
2 | If a program abends due to some reasons pke input-output error, then it can be handled using Handle Abend CICS command. |
3 | Abend command is used to terminate the task intentionally. |
4 | 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. |
5 | Nohandle can be specified for any CICS command. |