Author: t5590ag
Subject: trying to define a VSAM Cluster in JCL
Posted: Thu May 19, 2016 5:52 am (GMT 5.5)
Hi, I have a JCL which disables/closes a VSAM file and then tries to DELETE it. On some days it abends with below error -
IKJ56241I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
There is nothing abnormal in the syslogs which would show contention or anything. No other JCL/PARM uses the file we are trying to delete. And this does not abend every time.
Following are the steps in JCL -
U11RMS
AOWTOR which uses - SEMT SET FILE(FILENAME) CLO DIS
IDCAMS which tries to DELETE
Subject: trying to define a VSAM Cluster in JCL
Posted: Thu May 19, 2016 5:52 am (GMT 5.5)
Hi, I have a JCL which disables/closes a VSAM file and then tries to DELETE it. On some days it abends with below error -
IKJ56241I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
There is nothing abnormal in the syslogs which would show contention or anything. No other JCL/PARM uses the file we are trying to delete. And this does not abend every time.
Following are the steps in JCL -
U11RMS
AOWTOR which uses - SEMT SET FILE(FILENAME) CLO DIS
IDCAMS which tries to DELETE