Cobol Adabas response code 48

Hi, I am using Adabas with Cobol. My program runs perfectly but sometimes it start giving Adabas error with response code 48. Can someone please tell me what is this error and how can I resolve this?

http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada823mfr/adamf/messages/_macover.htm

steve

Or more specifically (well, as specific as it can be considering the number of subcodes) the description of Rsp 48.

Response code 48 means contention.

  1. If any other job is accessing the file in UPD or EXU mode, you will get this error.
    2.If your same job has failed to close the file in its previous run, you will get this error.

The solution is to check which job’s thread is holding the file. Check its status and kill the thread.