This optional control statement allows global options to be specified for the PDSMAN Usage Statistics Recording facility.
Only one $USESTATS control statement can be specified. The format of the $USESTATS control statement is as follows.
The following items describes the $USESTATS control statement parameters:
Controls how Usage Statistics Recording is started and enabled. Changes to this setting take effect the next time the PDSMAN Partitioned Resource Monitoring subtask, PDSMPMON, is started.
Usage Statistics Recording is started automatically when the Partitioned Resource Monitoring subtask is started (default).
Usage statistics are not recorded and statistics reporting is not available.
Instructs PDSMAN to write current usage statistics to the PDSMAN database before terminating Usage Statistics Recording. This parameter is a normal part of terminating the PDSMAN Partitioned Resource monitoring subtask.
Write current usage statistics to the PDSMAN database (default).
Do not write the usage statistics to the database. PDSMAN issues message PDSMPUSE-04 and permanently discards the current usage statistics.
Specifies the approximate number of days that historical usage statistics for this system are to be retained in the database. The actual retention can differ slightly from this value because records are purged the next time Usage Statistics Recording is initialized.
Usage statistics are retained indefinitely.
Usage statistics are retained for 365 days, or approximately one year (default).
Usage statistics are retained for the specified number of days.
Specifies a diagnostic level that is used to control PDSMAN diagnostic messages for Usage Statistics Recording. This parameter is typically specified at the direction of Technical Support.
No diagnostics (default).
Diagnostic level (1 through 9).
The following $USESTATS control statement causes PDSMAN to record usage statistics and write historical data to the PDSMAN database where it is retained indefinitely.
$USESTATS RECORD=Y HISTORY=Y RETAINHIST=0