Version 4.5.1
 —  Concepts and Facilities  —

About Adabas Review Reports

Online or as a stand-alone batch job, Adabas Review processes Adabas command log records and generates reports according to user-defined reporting criteria. The flexible reporting structure of Adabas Review allows you to view the same data in many different ways.

It retrieves performance information about Adabas by collecting data in the form of reports, which capture command log information and provide information about both online and batch transactions. Reports collect data about multiple teleprocessing environments and batch programs that are all using the same database.

Adabas Review provides commands to:

This document covers the following topics:


Detailed vs. Summary Reports

Adabas Review can produce detailed and summary reports.

Top of page

Components of a Report

An Adabas Review report has two parts: a definition and a display program.

Report Definition

Adabas Review uses a set of instructions called a report definition to specify the types of data to be collected. Prepared report definitions supplied with Adabas Review may be modified and custom reports may be created.

Report definitions can be created or modified using menu-driven Natural programs. Report options and processing rules allow you to specify the conditions under which the data is to be captured. Report definitions are kept in the Adabas Review repository.

The Edit Report (ER) function is used to create Adabas Review report definitions. In addition, Software AG delivers prepared report definitions called supplied reports with Adabas Review. Supplied reports may be modified to meet the requirements at a particular site. Detailed information about supplied reports is provided in Supplied Report Reference.

An Adabas Review report definition comprises database fields to be monitored, processing rules, and option parameters, all either entered on screens or selected from lists:

Database Fields

The selection of database fields defines the subject of the Adabas Review report.

A field identifies a type of information to be collected by the report; for example, information about an Adabas command, the Natural program issuing the command, the Adabas nucleus, the teleprocessing monitor, or the operating system being used. The PF11 (Flds) option is used to display a list of all available Adabas Review report fields.

Up to 20 fields may be used in a particular report. However, the number of fields that can be displayed is limited to the total line size (250 bytes) that can be displayed when a report is viewed online.

Fields to be displayed in a report are entered on the Edit Report screen of the Edit Report (ER) function as shown in the following example:

20:35:15                  A D A B A S  -  R E V I E W                YYYY-MM-DD
                                  Edit Report                        LOCL=00009
                                                                               
     Report Name: ________________________________  DBID to Monitor: _____     
                                                                               
      +-----------------------------------------------------------------+      
      |  Field      Order   Sum   Min   Max   Avg   Pct   Rate   Round  |      
      |-----------------------------------------------------------------|      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      | ________     ___     _     _     _     _     _     _    ______  |      
      +---------------------------- Page 1 -----------------------------+      
                                                                               
                                                                               
Command: ______________________________________________________________________
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Optns Exit        Save  Start  -     +          Rules Flds  Menu

Detailed information about individual fields is provided in the Adabas Review User's Guide.

Report Processing Rules

Report processing rules are used to set conditions on or limit the data collected by the report.

Processing rules are entered on the Report Processing Rules screen of the Edit Report (ER) function as shown in the following example:

20:24:56                  A D A B A S  -  R E V I E W                 YYYY-MM-DD
                             Report Processing Rules                  LOCL=00009
                                                                                
                                   REPORT ONE                                   
 +-----------------------------------------------------------------------------+
 |  Field    Op        Value                                            And/Or |
 |-----------------------------------------------------------------------------|
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 | ________  __  ________________________________________________________  ___ |
 +---------------------------------- Page 1 ----------------------------------- 
                                                                                
                                                                                
                                                                                
 Command: ______________________________________________________________________
 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Optns Exit        Save  Start  -     +                Flds  Menu

An Adabas Review report processing rule is specified by a field, a relational operator (equal to, less than, greater than, not equal to), and a specific value or range of values.

If there are multiple processing rules, the appropriate logical operator (AND or OR) must also be specified.

Fields used in processing rules are not displayed in the report results unless they are listed on the Edit Report screen.

Report Option Parameters

Values for report option parameters can be entered on the Report Options screen of the Edit Report (ER) function as shown in the following example.

Note:
One of two different Report Options screens may appear in Adabas Review, depending on whether you have selected a summary report or a detail report. The following sample is for a summary report.

19:33:13                  *****   R E V I E W   *****                2009-06-18
                 Options for summary report: COMMANDS BY HOUR         HUB=15690
                                                                               
+-- Summary Rpt Options ------- Summary Logging ------------ History ---------+
!  AutoStart .......... Y    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   

Adabas Review is delivered with report options defaults:

Detailed information about using the Report Options screen is provided in the Adabas Review User documentation.

Report User Exits

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

When creating a report, the user exit 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.

Natural Display Program

When a report definition is saved, Adabas Review automatically generates a unique Natural display program, called the Adabas Review report display program. This program determines how the report data will be viewed online or downloaded to a PC. It controls the appearance of the report output for an active database or for historical data. You can run this display program:

Note:
No display program is created for buffer pool reports.

The Natural display program generates normal Natural FIND and READ statements against an Adabas Review DDM to access the data being collected by Adabas Review. By default, the Natural program displays the data at the Adabas Review user's terminal. Options exist, however, to download the data directly to a personal computer (PC).

You may use the Adabas Review-generated display program as it is created, or you may modify it for your individual needs.

The display program is executed when the VIEW command is issued to display the report results online.

Note:
The output of reports that print at database termination is not controlled by a display program. At database termination, a SYSOUT from Adabas is written by REVIEWB. The format of this output cannot be modified by the Adabas Review user.

Top of page

Starting Reports

Once the report definitions are edited and saved, the reports can be started. Starting a report tells the Adabas Review data collection process to start accumulating data based on the report definition parameters.

Adabas Review users can display buffer pool information, display active databases, and access the Adabas Online System, if it is available. Adabas Review administrators are also allowed to define and display target objects.

Reports can be run in either interactive or batch mode:

Once data has been accumulated for a report, the results can be:

Once a report has been defined, the SAVE command is issued and the report definition is written to the Adabas Review repository.

Autostarted Reports

Adabas Review reports can be set to start automatically whenever Adabas Review initializes.

Then RAOSAUTO, the Adabas Review autostarted report parameter generation routine, generates the report definition control statements and writes them to one of two parameter files, RVUAUT1 or RVUAUT2, alternating between them by writing to the older file.

When Adabas starts, the files are read by Adabas Review using the RVUAUT1 and RVUAUT2 statements in the job stream.

Note:
Under z/OS, the installation procedure defines the statements RVUAUT1 and RVUAUT2 so that they point to members of a PDS. To avoid constant compression of these data sets, the statements may point to sequential data sets.

RAOSAUTO automatically regenerates the control statements for all autostarted reports when you make changes to an autostarted report, delete an autostarted report, or modify the target definition for the database being monitored by the reports.

In exceptional circumstances (e.g., the source library becomes too full and requires compressing), you can force regeneration of the control statements for all autostarted reports by either issuing the GENAUTO command or entering the parameters manually using batch parameter statements.

Additionally, when you issue the GENCARD command, RAOSAUTO generates report parameter cards for user-specified reports and directs them to a user-specified output file.

In z/OS, z/VSE, and BS2000, RAOSAUTO executes as a subtask of Adabas Review and is only active when:

Top of page

List Report Functions

Adabas Review provides three list functions for reports, which are accessible from the Adabas Review (DB system) menu:

Code List . . . This function lists . . .
LR Report existing Adabas Review reports by name. Reports may be edited, started, and purged using the commands in this function.
LH History Reports reports that have accumulated history data in the Adabas Review repository.
LS Started Reports reports that are currently accumulating data.

The lists displayed by the LH and LS functions are subsets of the list displayed by the LR function.

From the resulting lists, certain commands can be issued against a particular report that allow you to maintain report definitions, manage started reports, and manage the output they produce.

The commands are entered on the selection line preceding the name of the report.

Top of page

Record Filtering

Adabas Review record filtering can decrease the number of command log (CLOG) records passed from the database to Adabas Review. When filtering is active, only those records needed for report processing will be passed to Adabas Review. Record filtering operation is based upon the reports currently active and cannot be directly controlled. However, the Adabas ADARUN parameter REVFILTER may be used to control whether the database allows filtering. See the appropriate installation documentation for a description of the REVFILTER parameter.

Record filtering is limited to and dependent upon select Adabas Review fields (filter fields). Reports with rules based solely on filter fields are eligible to be filtering reports. Any other report is a non-filtering report. Record filtering will be active only when all reports running are filtering reports. That is, record filtering will stop if any non-filter report is started. An example of a filtering report would be the Exceptional Response Code report, which has a single rule for the RSP field. If this is the only report running, only those command logs with exceptional response codes will be sent to Adabas Review.

Note:
Record filtering is intended for those installations that ordinarily run very few reports (e.g., Exceptional Response Codes) at a time. A large number of active filtering reports will negate the performance benefits of record filtering. If your installation runs many rule-based reports, running with the ADARUN REVFILTER=NO setting is recommended. Some analysis of active reports may be necessary to fully realize filtering performance benefits.

Record Filtering Restrictions

The following restrictions apply for Adabas Review record filtering:

Adabas Review Fields Eligible for Record Filtering

The following Adabas Review fields can be used in rule processing in order to activate Adabas Review Record Filtering: ACBUSER, ASSOIO, CID, CMD, CMDTYPE, DATAIO, DBID, FILE, ISN, ISNQ, JOBNAME, JOBNAME, NATAPPL, NATPROG, NATSTMT, NATUID, NUCID, RSP, STEPNAME, TPUSERID, TRANSID, and WORKIO.

The use of any other field in rules for active reports will cause filtering to be stopped. For detailed information about particular fields, see the Field Reference, provided with this documentation.

Top of page