File still allocated after being de-allocated

Document ID : KB000111496
Last Modified Date : 17/08/2018
Show Technical Document Details
Issue:
After successfully issuing DCMT VARY FILE segment-name.file-name DEALLOCATE, the related z/OS dataset is still in-use by the CV.
The CV had to be shut down for another job to be able to successfully delete and re-define the dataset.
Environment:
CA IDMS, all supported releases.
Cause:
The physical dataset in question is also the physical file for another IDMS file in the same CV.
This is possible although rarely done.
All but one of the IDMS files would have to be in retrieval mode in the CV.
Resolution:
De-allocate the other files as well, or long term, change the DMCL so that this condition of sharing the same physical dataset across multiple IDMS file definitions doesn't exist.
Additional Information:
DCMT VARY FILE