Version 4.6.2
 —  Using Adabas Review  —

Specifying Reporting Options

This document describes the Adabas Review reporting options you can specify. Adabas Review reporting options are specified on the Report Options screen. Different options are available, depending on whether the report selected is a detailed or a summary report.

For detailed reports, data is collected continuously while the database is active. Such reports are straight recordings of commands processed. Detailed reports cannot be viewed online. However, a display program is generated that may be used to view history data online if the report collects history data. Results of detailed reports are printed at database termination. For detailed reports, the following options are available:

 22:52:49                  *****   R E V I E W   *****                2009-04-25
                  Options for detailed report: name                     HUB=15690
                                                                                
 +--- Detail Rpt Options ------- Detailed Logging ------------- History -------+
 !  AutoStart .......... N    Log ................ Y    History ............ N !
 !  Print .............. N    File .......... RVLOG_    History Int ... ______ !
 !  Limit ....... 99999999    Num of Logs ....... _2    History DBID ... __123 !
 !  Page/Line .. _55 / 133    Log Size ....... ___60    History FNR .... ___45 !
 !                            User Exit ... ________    History SVC ...... 234 !
 !                                                                             !
 !                           ---- Buffers to Log ---   ----- Detail Exit ----- !
 !                            FB: Y    SB: Y   RB: Y    Exit name.... ________ !
 !                            VB: Y    IB: Y   IO: Y                           !
 !                                                                             !
 !                                                                             !
 !                                                                             !
 !                                                                             !
 !                                                                             !
 +-----------------------------------------------------------------------------+
                                                                                
                                                                                
 Command: ______________________________________________________________________
 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help        Exit              Accpt             Dflts             Menu   

Summary reports present a summary of information for a particular field (e.g., command, user ID, program, etc.). Results may be viewed online or printed at database termination. For summary reports, the following options are available:

22:57:04                  *****   R E V I E W   *****                2009-04-25
               Options for summary report: LONG RUNNING COMMANDS      HUB=15690
                                                                               
+-- Summary Rpt Options ------- Summary Logging ------------ History ---------+
!  AutoStart .......... N    Summary Log ........ N    History ............ N !
!  Break .............. Y    Summary File .. RVSUM_    History Int ... ______ !
!  Wrapping ........... N    Num of Logs ....... _2    History DBID ... __123 !
!  Print .............. Y    Log Size ....... 99999    History FNR .... ___45 !
!  Rstrt/Intrvl Y  ______    Log Full Exit ________    History SVC ...... 234 !
!  Max Restarts .. 999999                                                     !
!  Max K ........... ___8                             ---- Summary Exit ----- !
!  ADALimit ...... _____1                              Exit Name ... ________ !
!  Display By ..   SORTED                              Cmd ............... CL !
!  Entries ....... 999999                              Sum ................ Y !
!  Limit ....... 99999999                                                     !
!  Page/Line .. _55 / 133                                                     !
!                                                                             !
!                                                                             !
+-----------------------------------------------------------------------------+
                                                                               
                                                                               
Command: ______________________________________________________________________
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help        Exit              Accpt             Dflts             Menu   

Several categories of reporting options can be specified, although the options differ for detailed and summary reports. For more information, select the option category below.

Report Option Category Describes the...
General Report Options Characteristics of the report
Logging Options Type of information logged and how it is collected
History Options Location of history information and the frequency with which it is collected
Report Exit Options Report user exits

General Report Options

The following table describes (in alphabetic order) the general report options that can appear on the Report Options screen. The "Valid for Report Type" column in the table indicates whether the option is valid for detailed reports or summary reports (or both).

Report Option Description Possible Values Default Valid for Report Type?
ADALimit Specify a minimum command count for printing on a summary report. If ADALIMIT=100, only entries with a command count of 100 or higher are printed on the report. The default value (1) means that all entries are printed. count 1 Summary only
Autostart Specify whether or not a saved report is started by issuing a START command (N) or automatically when Adabas Review is activated (Y). Y | N N Detailed and Summary
Break Specify whether or not subtotals are printed at control breaks (Y) or are suppressed (N) on the summary report. Y | N Y Summary only
Display By Specify the order is which the data is to be displayed on a summary report. Possible display types are:
  • SORTED: sort in ascending order by control break;

  • USAGE: sort in descending order by command count;

  • SUMFIELD: sort in descending order by the first field marked as a summary field;

  • SORTEDDE: sort in descending order by control break; or

  • DATETIME: sort in ascending order by the start date and time of the control break interval.

SORTED | USAGE | SUMFIELD | SORTEDDE | DATETIME SORTED Summary only
Entries Specify the maximum number of entries (that is, unique control breaks) that the summary report can maintain. This option is used to restrict the amount of data collected.

When the limit is reached, the report will remain active, but no further data will be collected.

1 - 999999 999999 Summary only
Intrvl This option appears on the same screen line as the Rstrt report option. The Rstrt option appears first on the line.

Specify the time interval (in minutes) for refreshing the summary report. At each interval, the summary report prints its output if PRINT=Y and stores any history data. The report is then deleted.

  1 - 999999 ---  Summary only
Limit Specify the maximum number of entries that the detailed or summary report can print. The default value allows all entries to be printed.

When the limit is reached, the report will remain active, but no further data will be collected.

1 - 99999999 99999999 Detailed and Summary
Line This option appears on the same screen line as the Page report option. The Page option appears first on the line.

Specify the line length, in characters, of the detailed or summary report. The default line length value is 133 characters. The appropriate value depends on the paper size and the point size and style of the typeface.

Use "Line" in an online environment; use LINESIZE in a batch environment.

72 - 160 133 Detailed and Summary
Max K Specify the maximum amount of storage available for a summary report.

Use "Max K" in an online environment; use MAXSTORE in a batch environment.

For more information about how storage is used for reports, read Storage for Reports.

amount in 8K increments 8 Summary only
Max Restarts Specify the maximum number of times a summary report will be restarted due to Max K   1 - 999999 999999  Summary only
Page This option appears on the same screen line as the Line report option. The Page option appears first on the line.

Specify the number of lines allowed for the detailed or summary report . The default page length value (55 lines) provides a top and bottom margin for standard printer spacing on a total page size of 66 lines.

10 - nnn 55 Detailed and Summary
Print

For a detailed report, specify whether or not the report is printed at database termination.

For a summary report, specify whether or not the report is printed at database termination or when its refresh/history interval is reached.

Y | N Y Detailed and Summary
Rstrt This option appears on the same screen line as the Intrvl report option. The Rstrt option appears first on the line.

Specify whether the summary report is restarted after the specified refresh/history interval or after the MAXSTORE limit (see the Max K report option) is reached.

If Y is specified for the Rstrt option, the summary report is refreshed automatically.

If N is specified for the Rstrt option, the summary report will be set with status "I" (inactive). Then, when the MAXSTORE limit or the refresh/history interval are reached, the report will be closed.

Use "Rstrt" in an online environment; use RESTART in a batch environment.

Y | N Y Summary only
Wrapping Specify whether or not the data collected for a summary report that has SEQUENCE as the first ORDER (control break) field can reuse data elements (i.e., wrap) once the total number of ENTRIES specified have been filled.

Use "Wrapping" in an online environment; use WRAP in a batch environment.

Y | N N Summary only

Top of page

Logging Options

Two kinds of logging options are available in Adabas Review, depending on the kind of report you have selected. Some logging options are shared by both types; other logging options are specific to the report type.

This section covers the following topics:

Logging Option Descriptions

For command logging, the logging options determine whether command logging is performed, what information is logged, and where the command log is written. For summary report logging, the logging options determine whether summary logging is performed, what information is logged, and where the summary log is written.

The following table describes (in alphabetic order) the logging options that can appear on the Report Options screen. The "Valid for Report Type" column in the table indicates whether the option is valid for detailed reports (command logging) or summary reports (summary logging).

Logging Option Description Possible Values Default Valid for Report Type?
Buffers to Log See Buffers to Log Options. --- --- Detailed only
File Specify the DD/file name prefix used to identify the file to which Adabas Review will write the command log data. Each detailed report that specifies command logging must have its own file name prefix. 5-byte name RVLOG Detailed only
Log Specify whether Adabas Review will write command logs for a particular detailed report (Y), or whether command logging will be ignored (N). Y | N N Detailed only
Log Full Exit Specify the name of the user exit that is called when a summary log is filled during summary report processing.

If an exit is not specified, Adabas Review closes the filled summary log file and opens the next file; no provision is made for copying the data. In addition, if a report is stopped and is restarted manually (not automatically restarted because the RESTART=Y option is specified), the first log data set will be reused and, if the previous data was not copied, it will be overwritten.

For complete information about the summary logging user exit, read REVUXLOG: Command or Summary Logging User Exit

name none Summary only
Log Size Specify the number of blocks to be allocated to each command log file (detailed reports) or summary log file (summary reports).

Because command log records and summary log records vary in length, it is important to carefully determine the Log Size option value. The maximum length of a command or summary log record written by Adabas Review is 8 kilobytes.

Log size is determined using the following formula:

number-of-tracks  *   ( TRUNC (bytes-per-track/10000))

For Adabas Review command and summary logs, the blocking factor is 10,000 bytes per block.

The following provides approximate values for tracks per cylinder and bytes per track for 3380 and 3390 devices:

  • 3380: 15 tracks per cylinder; 47,000 bytes per track

  • 3390: 15 tracks per cylinder; 57,000 bytes per track

For example, the log size for 10 cylinders of a 3380 device is determined as follows:

  • Number of tracks is 15 x 10, or 150 tracks;

  • Bytes per track/blocking factor is 47,000/10,000 = 4.7, and TRUNC(4.7) is 4 blocks;

  • Log size is 150 x 4, or 600 blocks.

To determine the number of summary records that can be stored on the summary log file, the size of the summary record and the specified block size must be taken into consideration. For more information, read Summary Record Layout.

nnnnn 99999 Detailed and Summary
Num of Logs Specify the number of command log files (detailed reports) or summary log files (summary reports) to be used by a report.

For every command log file or summary log file specified in the Num of Logs option, a file name is created by appending a number to the end of the file name prefix specified in the File or Summary File option. Each log file name must be coded in the Adabas startup procedure.

For example, if File=RVLOG and Num of Logs=2, command log data will be written to files RVLOG01 and RVLOG02. And if Summary File=RVSUM and Num of Logs=3, summary log data will be written to files RVSUM01, RVSUM02, and RVSUM03.

1-99 (z/OS)
1-9 (z/VSE)
2 Detailed and Summary
Summary File Specify the DD/file name prefix used to identify the file to which Adabas Review will write the summary log data. Each summary report that specifies summary logging must have its own file name prefix. 5-byte name RVSUM Summary only
Summary Log Specify whether Adabas Review will write summary logs for a particular summary report (Y), or whether summary logging will be ignored (N). Y | N N Summary only
User Exit Specify the name of the user exit that is called when a command log is filled during detailed report processing.

If an exit is not specified, Adabas Review closes the filled command log file and opens the next file; no provision is made for copying the data.

For complete information about the command logging user exit, read REVUXLOG: Command or Summary Logging User Exit

name none Detailed only

Buffers to Log Options (Detailed Reports Only)

The Buffers to Log options specify which command log buffers will be included in command logging. These can only be specified for detailed reports.

The basic command log record, the ACBX, and the CLEX (corresponding to the ADARUN LOGACB, LOGCLEX, and LOGUX parameters) will always be logged in the log file, regardless of the settings of the Buffer to Log options. These are included in the record internally referred to as LORECR. The Buffer to Log options make it possible to log additional buffers such as the record buffer, the format buffer, and others.

You can determine whether data is logged by your report by setting the Adabas Review logging parameter that corresponds to a particular buffer (or set of buffers). The following table briefly describes the Buffers to Log options. These options are only applicable to detailed reports:

Buffer Logging Option Description Corresponding ADARUN Parameter Possible Values Default
FB Specify whether the format buffer is logged. LOGFB=YES Y | N Y
SB Specify whether the search buffer is logged. LOGRB=YES Y | N Y
RB Specify whether the record buffer is logged. LOGSB=YES Y | N Y
VB Specify whether the value buffer is logged. LOGVB=YES Y | N Y
IB Specify whether the ISN buffer is logged. LOGIB=YES Y | N Y
IO Specify whether the Adabas I/O information is logged. LOGIO=YES Y | N Y

Required Options for Logging

The following detailed report option settings are required for detailed reports that will log commands:

Detailed Report Option Setting Explanation
Log Y Yes indicates that the report performs command logging.
File name The five-character prefix of the DD/file name for the command log files.
Num of Logs number The total number of command log files allocated for the report.
Log Size number Number of blocks per data set. Data sets for a particular report must be the same size.

The following summary report option settings are required for summary logging:

Summary Report Option Setting Explanation
Summary Log Y Yes indicates that the report performs summary logging.
Summary File name The five-character prefix of the DD/file name for the summary log files.
Num of Logs number The total number of summary log files allocated for the report.
Log Size number Number of blocks per data set. Data sets for a particular report must be the same size.

Recommended Options for Logging

The following detailed report option settings are suggested for efficient command logging operations:

Detailed Report Option Setting Explanation
AutoStart Y Starts the command logging report when the database is initialized.
Print N Prevents each detailed data line from being printed; eliminates redundant recording of data and waste of spool space.
User Exit exit name Filled command logs are copied to another device before they are overwritten with new command log data.

The following summary report option settings are suggested for efficient summary logging operations:

Detailed Report Option Setting Explanation
AutoStart Y Starts the summary logging report when the database is initialized.
Print N Prevents each summary data line from being printed; eliminates redundant recording of data and waste of spool space.
Log Full Exit exit name Filled summary logs are copied to another device before they are overwritten with new summary log data.

Logging Guidelines

Top of page

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.

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.

The history options that determine whether and how Adabas Review writes history data are set when you create or edit the report definition on the Report Options screen. If history data is to be written by a report running in batch mode, the history parameters make up the COPY statement.

The following table describes (in alphabetic order) the history options that can appear on the Report Options screen. The "Valid for Report Type" column in the table indicates whether the option is valid for detailed reports or summary reports (or both) -- although, in the case of history options, all options work for both types.

History Option Description Possible Values Default Valid for Report Type?
History Specify 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 Detailed and Summary
History Int Specify the history interval in minutes. This 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.

If the History Int option 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 set the Restart report option (Rstrt) to Y, so that the report is restarted after the interval has been reached. This option is listed in the Report Options column of the Report Optionsscreen.

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

If the History Int option is not used, history data is written to the Adabas Review repository at Adabas termination.

number of minutes none Detailed and Summary
History DBID Specify the ID number of 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.

You may change this parameter, provided it specifies (in conjunction with the History FNR and History SVC options) a different Adabas Review repository.

dbid current DBID Detailed and Summary
History FNR Specify the file number 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.

You may change this parameter, provided it specifies (in conjunction with the History DBID and History SVC options) a different Adabas Review repository.

fnr current file number Detailed and Summary
History SVC Specify the Adabas SVC number used to communicate with the Adabas Review repository in order to write the history data.

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.

You may change this parameter, provided it specifies (in conjunction with the History DBID and History FNR options) a different Adabas Review repository.

svc current SVC number or SVC of default DBID Detailed and Summary

Top of page

Report Exit Options

Adabas Review provides two report user exits: one for detailed reports and one for summary reports.

When creating a report, the user exit name (1-8 characters) is specified on the Report Options screen or in the batch REPORT statement. The actual report user exit must be provided in an executable library accessible to Adabas Review.

For more information about these exits, read REVUXDET: Report Exit for Detailed Reports and REVUXSUM: Report Exit for Summary Reports.

Top of page