Ian_Hill

CA Tuesday Tip: (CA IDMS) Timers missing from DCMT DISPLAY TIME

Discussion created by Ian_Hill Employee on Mar 19, 2013
Latest reply on Mar 20, 2013 by Eddy_G
CA IDMS Tuesday Tip by Yves Anthoons, Principal Support Engineer for March 19, 2013.

DCMT DISPLAY TIME doesn't display all timer fields. This is the output:-

CURRENT TIME 07:00:02.81
CURRENT DATE 13/071
STARTUP TIME 05:21:26.90
STARTUP DATE 13/071
RUNAWAY INTV 00010
STALL INTV 06000
QUIESCE WAIT STALL INTERVAL
TIMER INTV 00001
RECOVERY WAIT NOT ALLOWED
RESOURCE INTV 01800
RESOURCE PROG RHDCBYE

These timer values are defined in the SYSTEM statement in SYSGEN. This is how they are related:-

DCMT DIS TIME Sysgen : DIS SYSTEM nnn
CURRENT DATE 13/071
STARTUP TIME 05:21:26.90
STARTUP DATE 13/071
RUNAWAY INTV 00010 *+       RUNAWAY INTERVAL IS 10                       
STALL INTV 06000 *+       INACTIVE INTERVAL IS 6000                    
QUIESCE WAIT STALL INTERVAL *+       QUIESCE WAIT IS STALL INTERVAL               
TIMER INTV 00001 *+       TICKER INTERVAL IS 1                         
RECOVERY WAIT NOT ALLOWED *+       RECOVERY WAIT IS NOT ALLOWED                 
RESOURCE INTV 01800 *+       RESOURCE TIMEOUT INTERVAL IS 1800            
RESOURCE PROG YVABYE *+                   PROGRAM IS YVABYE VERSION 1      

Apart from these timers, the SYSTEM statement also contains the deadlock detection interval, the external wait and internal wait intervals.

These values can be viewed in the running system as follows ...

Deadlock detection interval :
DCMT DIS DEADLOCK
DEADLOCK DETECTION INTERVAL 00000000001

Internal and External wait intervals :

DCMT DIS MEM CCE +60 4
<Addr> <Offset> <Hex>
0002B080 00000060 09600384

---> First two bytes is the INTERNAL WAIT : X'0960' = 2400
---> Next twxo bytes is the EXTERNAL VAIT : X'0384' = 900

These values are defined in the SYSTEM statement as follows :

*+       DEADLOCK DETECTION INTERVAL IS 1  
*+       EXTERNAL WAIT IS 900              
*+       INTERNAL WAIT IS 2400

Outcomes