How does MIM D COUNTS message MIM1016I count requests for different SCOPEs
search cancel

How does MIM D COUNTS message MIM1016I count requests for different SCOPEs

book

Article ID: 198425

calendar_today

Updated On:

Products

MIM Resource Sharing (MIM) MIM Data Sharing (MII) MIM Tape Sharing (MIA) MIM Message Sharing (MIC)

Issue/Introduction

How does the MIM1016I command response count the number of requests for a particular QNAME when that ENQ can be issued either as SCOPE=SYSTEM or SCOPE=SYSTEMS?”

What, exactly, is being displayed, and how I can tell how many ENQs are issued with a scope of SYSTEM vs. SYSTEMS?

Environment

Release : 12.5

Component : MIM

Resolution

SCOPE=SYSTEMS is propagated across systems, so this ENQ is handled and processed by MIM.
SYSTEM is handled locally, so is not processed by MIM - it is processed by GRS.

The MIM1016I results of D COUNTS shows the number of ENQs Issued and Processed since GDIF started.
They may be different. In this case 

GDIF counts display

LAST {RESTART|RESET} AT time ON date
RESOURCE   TYPE   -----------ENQS----------  ---------RESERVES----------   GLOBAL
(QNAME)                ISSUED   PROCESSED         ISSUED  PROCESSED       CONFLICTS
 DADSBI     SYSTEMS    3524     3002              0       0               2

In this case  we see 3524 issued and 3002 processed.

The number issued includes counts for all ENQs for that Qname. both SYSTEMS and SYSTEM.
The number processed shows only those ENQs processed by MIM.
Anything with SCOPE=STEPS is filtered out very early on and not even counted.

The number of ENQs processed are those with SCOPE=SYSTEMS.
The ENQs not processed can be found by issuing D COUNTS=EXCEPTION, which is new in MIM 12.5.

Results of that are in the MIM1042I which looks like this

GDIF COUNTS=EXCEPTIONS display
LAST {RESTART|RESET} AT time ON date
RESOURCE TOTAL ------------- ENQs and RESERVES -----------------
(QNAME) SCOPE EXEMPT RNL=NO USEREXIT GDIF=NO
Qname 510 510 0 0 0 0


These are the ENQs issued with SCOPE=SYSTEM and handled locally.


There is no way to have the D COUNTS MIM1016I message show the difference between SYSTEM vs SYSTEMS.
D COUNTS=EXCEPTIONS shows those ENQs where there is a mismatch between the number issued vs processed in the prior display.

Additional Information

For more details about the D COUNTS message MIM1016I 
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/message-and-code-reference/messages/gdif-and-ecmf-messages/mim1016i.html

For more details about the D COUNTS=EXEMPTION message MIM1042I
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/message-and-code-reference/messages/gdif-and-ecmf-messages/mim1042i.html

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/traditional-management/ca-mim-for-z-os/12-5/message-and-code-reference/messages/gdif-and-ecmf-messages/mim1042i0.html