Logstream: Resource statistics
You can retrieved log stream resource statistics by using the EXEC CICS EXTRACT STATISTICS STREAMNAME system command. They are mapped by the DFHLGSDS DSECT.
These statistics fields contain the resource data collected
by the log manager domain.
For more information about logging and journaling, see CICS logging and journaling.
| DFHSTUP name | Field name | Description |
|---|---|---|
| Log Stream Name | LGSTRNAM | The logstream name. Reset characteristic: not reset
|
| System Log | LGSSYSLG | Indicates if the logstream forms part of the System
Log. Reset characteristic: not reset
|
| Structure Name | LGSSTRUC | The coupling facility (CF) structure name for
the logstream. The structure name is only applicable to coupling facility
type logstreams. Reset characteristic: not reset
|
| Max Block Length | LGSMAXBL | The maximum block size allowed by the MVS™ Logger
for the logstream. Reset characteristic: not reset
|
| DASD Only | LGSDONLY | Indicates the type of logstream. If set to 'YES'
the logstream is of type DASDONLY. If set to 'NO' the logstream is
of type coupling facility (CF). Reset characteristic: not reset
|
| Retention Period | LGSRETPD | The logstream retention period (in days) that
the data must be kept before it can be physically deleted by the MVS Logger.
Reset characteristic: not reset
|
| Auto Delete | LGSAUTOD | The log data auto delete indicator. If set to
'YES' the MVS Logger automatically deletes the data as
it matures beyond the retention period, irrespective of any logstream
delete calls. If set to 'NO' the data is only deleted when a logstream
delete call is issued and the data has matured beyond the retention
period. Reset characteristic: not reset
|
| Delete Requests | LGSDELETES | The number of DELETEs of blocks of data from the
logstream. For non-system logs, the report will show 'N/A' here, as CICS® does
not issue Log Delete requests against non-system logs. Reset characteristic: reset to zero
|
| Query Requests | LGSQUERIES | The number of queries that CICS made
to check the status of the logstream. Reset characteristic: reset to zero |