When the exit is called

The error exit is called in the following circumstances.

If used, the error exit is called by CICS VR when a VSAM error occurs during these CICS operations:

But, if the error can be corrected by CICS VR, the error exit is not called. This is true even if an I/O error message is produced.

For backup-while-open certain normal VSAM errors can occur. They are identified by these error codes:

Operation Possible error codes

Adding a record
Deleting a record
Updating a record

008
004, 016, 032, 116
004, 016, 032, 096, 116

These errors are considered to be serious:

If you do not provide an exit routine and the error is serious, CICS VR terminates recovery.