Version 4.3.2
 —  Maintaining Report Definitions  —

Editing Existing Reports

Report definitions that have been saved or started may be modified at any time.

Start of instruction setTo access a report definition

  1. If you know the report name, enter the command ER followed by the report name.

    Or:
    If you do not know the report name, access the List Report Definition (LR) function and enter the command ER on the selection line preceding the report name.

    Or:
    If the report has been started, you may use the List Started Report (LS) function and enter the ER command on the selection line preceding the report name.

    Or:
    If the report writes history data to the Adabas Review repository, you may use the List History Reports (LH) function and enter the ER command on the selection line preceding the report name.

    The ER command invokes the Edit Report screen for the specified report. The following example shows the "Commands by Hour" report:

    20:35:15                  A D A B A S  -  R E V I E W               2003-07-07
                                      Edit Report                       LOCL=00009
                                                                          
    Report Name: COMMANDS BY HOUR________________  DBID to Monitor:____9
                                                                   
    +-----------------------------------------------------------------+
    |  Field      Order   Sum   Min   Max   Avg   Pct   Rate   Round  |
    |-----------------------------------------------------------------|
    | HOUR____     _10     _     _     _     _     _     _    ______  |
    | CMD_____     _20     _     _     _     _     _     _    ______  |
    | MONAME__     _30     _     _     _     _     _     _    ______  |
    | IOS_____     ___     X     _     _     X     _     _    ______  |
    | COMMANDS     ___     X     _     _     _     _     _    ______  |
    | CMDRESP_     ___     X     _     _     X     _     _    ______  |
    | ________     ___     _     _     _     _     _     _    ______  |
    | ________     ___     _     _     _     _     _     _    ______  |
    | ________     ___     _     _     _     _     _     _    ______  |
    +---------------------------- Page 1----------------------------- +
                                                                       
           
    Command: ______________________________________________________________________
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Optns Exit        Save  Start  -     +          Rules Flds  Menu

This document covers the following topics:


Changing Field Information

Start of instruction setTo change the field information displayed on the Edit Report screen

  1. Type over the existing information.

Start of instruction setTo change or add fields to the report

  1. You may also use the field selection screens.

    Refer to the section Using the Field Selection Screens.

Start of instruction setTo make additional changes after finishing changes on the Edit Report screen

  1. You may access the Report Processing Rules screen or the Report Options screen.

Start of instruction setTo finish your changes to the report definition

  1. Press PF5 or enter the SAVE command on the command line.

Top of page

Changing Processing Rules

If the report contains processing rules, a message is displayed at the bottom of the Edit Report screen. You may change existing rules or create new rules, if desired.

Start of instruction setTo change processing rules or create new rules

  1. Display the Report Processing Rules screen by pressing PF10 or entering RULES on the command line.

    20:38:29                  A D A B A S  -  R E V I E W               2003-07-07
                                 Report Processing Rules                LOCL=00009
                                                                           
                                    COMMANDS BY HOUR
     +-----------------------------------------------------------------------------+
     |  Field    Op        Value                                           And/Or  |
     |-----------------------------------------------------------------------------|
     | ADADURA_  GT 3.0_____________________________________________________  AND  |
     | IOS_____  GT 200_____________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     | ________  __ ________________________________________________________  ___  |
     +---------------------------------- Page 1------------------------------------+
                                                                           
            
     Command: ______________________________________________________________________
     Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
           Help  Optns Exit        Save  Start  -     +                Flds  Menu
  2. Change the rules by typing over the existing information; add rules by entering them on the screen.

    For more information, see section Using the Report Processing Rules Screen.

  3. Edit the Report Options screen by pressing PF2 or entering OPTNS on the command line.

    Or:
    If no other changes to the report definition are required, press PF5 or enter SAVE on the command line.

    Or:
    Return to the Edit Report screen by pressing PF3 or entering EXIT on the command line.

Your changes are not deleted unless you exit the Edit Report function without first entering the SAVE command.

Top of page

Changing Report Options

Start of instruction setTo change report options

  1. Access the Report Options screen by pressing PF2 or entering OPTNS on the command line.

    19:30:50                  *****   R E V I E W   *****               2003-07-07
                         Report Options For: COMMANDS BY HOUR           LOCL=00222
                                                                           
            
     +-------- Report ------------------ Logging ----------------- History---------+
     |  Detail/Sum ......... S    Log ................ N    History............ N  |
     |  AutoStart .......... Y    File ........... RVLOG    History Int ...______  |
     |  Break .............  Y    Num of Logs ....... _2    HISTORY DBID... ____9  |
     |  Wrapping ........... N    Log Size ....... 99999    HISTORY FNR.... ___31  |
     |  Print .............. N    User Exit ... ________    History SVC...... 227  |
     |  Rstrt/Intrvl Y  ______                                                     |
     |  Max Restarts:   999999                                   ReportExits       |
     |  Max K ........... __32        Buffers to Log       ----------------------  |
     |  ADALimit ...... _____1   ------------------------   Detail Exit..________  |
     |  Display By ..   SORTED    CB: Y    FB: Y   SB: Y    Summary Exit:________  |
     |  Entries ....... 999999    RB: Y    VB: Y   IB: Y    Cmd .... CL Sum.... N  |
     |  Limit ....... 99999999    IO: Y   EX1: N  EX2: N                           |
     |  Page/Line... _55 / 133                                                     |
     |                                                                             |
     +-----------------------------------------------------------------------------+
            
     Command: ______________________________________________________________________
     Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
           Help        Exit              Accpt             Dflts             Menu
  2. To change the report options, type over the existing information.

    For an explanation of the report options, refer to the section Using the Report Options Screen.

  3. After making changes to the Report Options screen, use either of the following procedures:

    To save the changes temporarily while you make changes to other components of the report, press PF6 or enter ACCPT on the command line.

    Or:
    If no other changes to the report definition are required, press PF5 or enter SAVE on the command line.

    You are returned to the Edit Report screen.

Top of page

Starting an Edited Report

Start of instruction setTo start an edited report

  1. When you have finished editing the report, start the report by pressing PF6 or entering START on the command line from either the Edit Report screen or the Report Processing Rules screen.

    If you make changes to a report that has already been started, you will be prompted to "refresh" the report when you attempt to issue the START command or press PF6. This is because the name of a report that is accumulating data is the same as the report you are attempting to start. Reports with duplicate names are not permitted by Adabas Review. Refreshing the report will purge any accumulated data and will restart the report.

  2. To "refresh" the report, answer "Y" to the prompt.

Top of page