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

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

book

Article ID: 66768

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

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

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

IDMS, all supported releases.

Resolution

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.