When a file is allocated to a CICS region using CA DADS Plus and then closed using CICS CEMT COMMAND the file is closed but still allocated to CICS.

book

Article ID: 48986

calendar_today

Updated On:

Products

CA DADS Plus CA Telon Application Generator

Issue/Introduction

Description:

We have some users at our site who don't have access to DADS and use CEMT to close files.

The issue we have is that when we allocate the file to the CICS region using CA DADS Plus and then close the file through CEMT, the CICS region still has the file allocated.

Is there a way to resolve this issue?

Solution:

CA DADS Plus is working as designed.

If a file is allocated by CICS at initialization or via a CEMT OPEN, when a CEMT CLOSE is issued, the file is also deallocated.

However, if a file is allocated by CA DADS Plus, and a CEMT CLOSE is issued, the file is closed, but not deallocated, since CICS only deallocates files that were allocated by CICS.

Once a file is place under CA DADS Plus control only CA DADS Plus facilities should be used to open and close the file.

Environment

Release: OSDPLW00200-4-DADS Plus-for CICS
Component: