MIM ECMF requeue processing
search cancel

MIM ECMF requeue processing

book

Article ID: 397886

calendar_today

Updated On:

Products

MIM Data Sharing (MII) MIM Resource Sharing (MIM)

Issue/Introduction

You are running MIM with the ECMF (ENQ Conflict Management Facility) facility activated

With this facility, MII will cancel a job when it encounters contention, causing the job to abend with S222 before being requeued for execution.

You would like to explore whether there is a workaround to handle this situation without canceling the job. Is there a way to ensure that jobs
submitted by a specific user ID remain unaffected by MIM's cancellation process? You are looking for insights or potential solutions?

Environment

MII Facilities (R12.5 0000)      
   MIM  - Multi-image Manager             
   GDIF - Global Data Integrity Facility  
   ECMF - ENQ Conflict Management Facility

ECMF OPTION display:                                 
   ACTIONMESSAGES=NO     AUTOFREE=ON           JESCHAR=$ X'5B'
   MIM1098=ALWAYS        NOICOVRD=NO           RELQUALL=YES   
   REQUEUE=ON            REQAFTER=1            REQCKPT=USE    
   REQCYCLE=15           REQSECUR=OFF                         
   SETTRACE=( ENQ )                                           
   SETPRINT=NONE                                              
   STATCOLLECT=(NOSUBTYPE=(CR))                               
   STATCYCLE=60.00       STATINTERVAL=15

Resolution

A possible solution is to set up a MII User Exit. Specifically the XCMREQXT exit. As documented, this exit changes the way batch job requeue processing occurs for batch jobs that are waiting for control of data sets. However, this exit is designed to alter normal requeue processing based on either jobname or data set name.

In absence of the exit, your only other option may be to turn off the EMCF REQUEUE feature. This can be done dynamically using command:

SETOPTION REQUEUE=OFF