CA Jclchk 12.0 : CTM Interface - //DAJOBLST - IKJ56225I DATA SET ALREADY IN USE, TRY LATER

book

Article ID: 131025

calendar_today

Updated On:

Products

CA JCLCheck Workload Automation

Issue/Introduction

Control-M Scheduler (CTM) from BMC is a workload management product for scheduling and controlling batch workloads. CA JCLCheck can validate JCL containing embedded CTM variables; however, there are different ways these variables are resolved under the following CA JCLCheck environments:
■ EDCHEK (ISPF EDIT and CA Endevor EDIT)
■ ISPF interface
■ Batch invocation

Using Online CTM interface under EJCK, it can happen that, asking for validation with variable expansion, the interface gets the following error :
...
IKJ56225I DATA SET BMC.dsname.JOBLIST ALREADY IN USE, TRY LATER+ 
IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER 
IEFA110I DATA SET CONTENTION 
DATA SET BMC.dsname.JOBLIST IN USE BY  
...
IOAD9CE ALLOCATION FAILED FOR DDNAME : DAJOBLST 
IOAEAAE CALL TO IOALOC FAILED 
...

and the validation ends abnormally. 
How to customize the CTM interface to bypass this error? 
 

Environment

Z/OS - JCLCheck - Control-M (BMC) 

Resolution

Basically the allocation of the DAJOBLST file depends on some specific customization/parm settings in Control-M,  but JCLCheck itself does not require it. 
So, if this error occurs under EJCK with CTM Interface active, it is necessary to customize the EJCK Clist used  as follows:

1. Allocate at the beginning a DUMMY  DAJOBLST file
2. Execute a FREE of this file at the end of the clist