IDMS

 View Only

 LOCKMON & DCMT DIS LOCKS Interpretation of output

gmele2's profile image
gmele2 posted Mar 13, 2024 11:15 AM

Hi,

I'm having trouble interpreting the following LOCKMON vs DCMT DIS LOCKS LTERM ... output and I hope someone can clarify this for me.

1.  I issue the command LOCKMON W LTE :

CA IDMS DB/DC Lock Monitor Version 19.0         LTerm Locks       Tape: GJJ04I

LTerm___    User____    Task____       __Notify_      __Shared_      Exclusive

UCFLT04     FDQ4538     *SYSTEM*               2              0              0

UCFLT21     FDQ1050     *SYSTEM*                2               0              0

UCFLT25     FDQ4171     *SYSTEM*               16               0              0

2.  Then I issue the command LOCKMON W TERM UCFLT25:

CA IDMS DB/DC Lock Monitor Version 19.0     LTE: UCFLT25          Tape: GJJ04I

Longterm_Lock_ID   Segment.Area_Name__________      Notfy   Share    Excl

Terminal: UCFLT25    User: FDQ4171                                           

RECL-CLINT         P1SGCL00.ARCL-CLINT                               1           1         0

RECL-COMM-CLINT    P1SGCL00.ARCL-CLINT                       7           7         0

3.  Then I issued a DCMT DIS LOCKS LTE UCFLT25 :                                                    

     *** Notify/Longterm Locks by Lterm ***                                    

LTERM    USER                    TASK        NOTFY SHARE  EXCL                         

UCFLT25  FDQ4171            *SYSTEM*      16           0        0                         

V50  ENTER NEXT TASK CODE:      CA IDMS release 19.0 tape GJJ04I node SYST0012

This command is showing 16 longterm notify locks which corresponds with the LOCKTERM W LTE command at step 1.

So my question is why is there a discrepancy between the LOCKMON W LTE & LOCKMON W TERM commands in reporting the locks ?  Using DMLO I was able to update one of the record occurrences for which the LOCKMON W TERM command was reporting a longterm share lock which leads me to believe that the LOCKMON W TERM command isn't reporting the longterm locks correctly.

Any opinions on the above would be appreciated.

Thank you,

Giuseppe Mele

Also, if I turn on the DBKEY option when doing a LOCKMON W TERM I only ever see NOTIFY locks:

CA IDMS DB/DC Lock Monitor Version 19.0     LTE: UCFLT***

Longterm_Lock_ID   PgGrp  Lock Mode/DBKey(s)......      

Terminal: UCFLT03    User: FDQ4599                      

RECL-CLINT         00001  NTFY  4642853:015             

RECL-COMM-CLINT    00001  NTFY  4642853:094  4642853:093

Terminal: UCFLT13    User: FDQ1077                      

RECL-CLINT         00001  NTFY  4673685:013             

Terminal: UCFLT16    User: FDQ4171                      

RECL-CLINT         00001  NTFY  4638857:011  4638857:011

Terminal: UCFLT22    User: FDQ4606                      

RECL-CLINT-D       00001  NTFY  4565763:002             

RECL-COMPT-CLINT   00001  NTFY  6743369:001             

RECL-IMMTN-COMPT   00001  NTFY  6622574:004