DCMT D LOG %USED not always up-to-date

Document ID : KB000066768
Last Modified Date : 23/11/2018
Show Technical Document Details
Introduction:

In the output of a DCMT D LOG command, the %USED figure is not always up-to-date
 

Background:

At the top of the output of a DCMT D LOG command, there is a figure indicating how full the log is:-

IDMS-DC LOG AND LOG SERVICE DRIVER STATISTICS
------------------LOG PAGES-------------------
USED                     READ          WRITTEN
21%                       60               16       

This figure, in this case 21%, may not always be completely accurate in terms of real time.

Environment:
CA-IDMS, all supported releases.
Instructions:

This statistic is only updated at startup and when CA-IDMS writes a DC050001 message.

A DC050001 message is written according to the following algorithm:

If the percent full is less than 78%:-
The DC050001 message is written if the percent full is 12.5% more than the last time the message was written, for example, at 12.5% 25% 37.5% etc. 

If the percent full is greater than 78%:-
The DC050001 message is written when the percent full is half as close to 100% as it was the last time, for example, at 80% 90% 95% 97.5% etc.

Additional Information:
DCMT DISPLAY LOG