VSAM messages IEC161I during use

Document ID : KB000100187
Last Modified Date : 05/06/2018
Show Technical Document Details
Issue:
When TSO user first accesses Endevor they receive VSAM messages IEC161I 056-084,....
We know this means the VSAM files are not being closed properly.
Where can I do to prevent the user getting the error message?
Resolution:
IEC161I 056-084, or IEC161I 062-082 messages can be issued during the processing of an OPEN macro instruction for any VSAM files.

There is no way to turn them off, these messages are issued by IBM when the files have not been not properly closed in a previous access because the last request to close this data set was not completed successfully. .
For exemple, this happens if the user walks away from their desk and their sessions time out (S522) or any other abend in batch or foreground.