Version 4.3.2
 —  Report Option Parameters  —

History Options

History data is useful for monitoring database performance for a given period of time and for performing trend analysis. History options specify whether history data is collected, when it is collected, and where (that is, in which Adabas Review repository) it is stored.

This document covers the following topics:


History Data for Summary and Detail Reports

Although history data may be written for both detailed and summary reports, the report type plays a key role in determining how Adabas Review processes history data.

Top of page

History Parameters

The parameters that determine whether Adabas Review writes history data are set when you create or edit the report definition. These history parameters appear on the Report Options screen of the Edit Report (ER) function.

If history data is to be written by a report running in batch mode, the history parameters make up the COPY statement.

The history options are briefly described in the following tables:

Parameter Specify . . . Possible Values Default
HISTORY whether the data collected by the report is to be written to an Adabas Review repository and stored as history data. If (N), all other history options are ignored. Y | N N
HISTORY INT the history interval; that is, the time interval during which history data is collected by the report. At each interval, the report prints its output if PRINT=Y and stores any history data. The report is then deleted. If RESTART=Y, the report is then restarted. time duration in minutes none

If the HISTORY INT parameter is used, history data is written to the Adabas Review repository at the interval specified, provided the database containing the Adabas Review repository is active.

To write history data at regular intervals (e.g., every hour), you must also specify RESTART=Y, so that the report is restarted after the interval has been reached. This parameter is listed on the Report Options screen of the Edit Report (ER) function.

Note:
If the report option RESTART=Y is specified, all history data for the report is written to the Adabas Review repository file if the MAXK value for the report is exceeded.

If the HISTORY INT parameter is not used, history data is written to the Adabas Review repository at Adabas termination.

The history parameters DBID, FNR, and SVC specify the database ID and file number of the Adabas Review repository, and the SVC used to communicate with it. This information is obtained from the target definition for the database you are using.

You may change these parameters, provided that they specify another Adabas Review repository.

Parameter Specify . . . Value Default
HISTORY DBID the ID number for the database that is to store the history data; that is, the Adabas Review repository. * The default is the database ID of the Adabas Review repository to which you currently have access. dbid *
HISTORY FNR the ID number of the file in the Adabas Review repository that is to contain the history data. ** The default is the file number in the Adabas Review repository to which you currently have access. fnr **
HISTORY SVC the Adabas SVC number used to write the history data to the Adabas Review repository. *** The default is the SVC number of the Adabas Review repository that you are currently accessing, if that database appears on the Target Definitions screen (LT function). Otherwise, the default is the SVC number of the default database listed on the Target Definitions screen. svc ***

Top of page