What can cause an 1159 or other 11xx abends?

book

Article ID: 16822

calendar_today

Updated On:

Products

CA IDMS CA IDMS - Database CA IDMS - ADS

Issue/Introduction



I have a program that failed with a 1159 abend code. What can cause 1159 or other 11xx abends?

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component:

Resolution

This can be caused by a dirty read. This occurs under the following circumstances:

  • RETRIEVAL NOLOCK is specified in the SYSTEM statement in the sysgen 
  • A transaction readies and area in SHARED RETRIEVAL mode
  • The transaction accesses a record that is currently being updated by another transaction which has readied the area in PROTECTED UPDATE mode and has not yet committed the update. 

In this situation the shared retrieval transaction is reading uncommitted data which can result in 1159 and other 11xx abends.

If the error is caused by a dirty read, a re-run of the same program should work.

If not then run IDMSDBAN to check the integrity of the database,

Additional Information

See DocOps section Reading Uncommitted Data