Previous Topic

Next Topic

Book Contents

Book Index

Exiting a Ruler Definition

By alternately displaying the Report Viewing screen and the most current ruler definition screen, the QUICKVIEW (Quick Ruler Definition) key (PF04/PF16) enables you to immediately check your report edits.

However, the QUICKVIEW key does not save ruler definitions. If you view another report or leave the Online Viewing facility, this ruler definition will be lost.

A ruler definition can only be saved when exiting the Report Editing screen.

The following steps explain how to exit the Report Editing screen and save the ruler definition.

  1. Press the END key (PF03/PF15) to return to the Report Editing screen.

    The Report Editing screen is displayed. The RULER NAME field contains the name DEFAULT.

    Figure 37 Saving Ruler Definition in Report Editing Screen

    ------------------------  CONTROL-D - REPORT EDITING  --------------------(U.E)

    COMMAND/OPT ===>

    USER DEMO          REPORT EMPLOYEES-MARKETING         JOB JDEMO

      RULER NAME  ===> DEFAULT              Name or blank for default ruler

      RULER TYPE  ===> VIEW                 View or Print

      REPORT NAME ===>                      To copy a ruler - full report name

      JOB NAME    ===>                      To copy a ruler - full job name

      USER NAME   ===>                      To copy a ruler - full user name

      1   EDIT    report lines and columns

  2. Exit the Report Editing screen by pressing the END key (PF03/PF15).

    The Exit Option window, with the cursor in the Exit option field, is displayed on the screen.

    Figure 38 Exit Option window in the Report Editing Screen

    ------------------------  CONTROL-D - REPORT EDITING  --------------------(U.E)

    COMMAND/OPT ===>                            +---------------------------------+

    USER DEMO          REPORT EMPLOYEES-MAR     |                                 |

                                                |    PLEASE SELECT EXIT OPTION    |

                                                |                                 |

      RULER NAME  ===> DEFAULT                  |    Exit option ===>             |

      RULER TYPE  ===> VIEW                     |                                 |

      REPORT NAME ===>                          |     1  KEEP ruler active        |

      JOB NAME    ===>                          |     2  CLEAR (no ruler)         |

      USER NAME   ===>                          |     3  SAVE ruler as:           |

                                                |                                 |

                                                |    Ruler name  ===> DEFAULT     |

      1   EDIT    report lines and columns      |    Ruler type  ===> VIEW        |

                                                |                                 |

      2   INCLUDE lines based on strings        +---------------------------------+

      3   EXCLUDE lines based on strings

      4   COLOR   lines based on strings

    PLEASE SELECT OPTION, OR PRESS PF3 TO SAVE/EXIT THE RULER              16.51.06

    When the Exit Option window is opened, it shows the same Ruler name and Ruler type that are displayed in the Report Editing screen. In this case, the name and type are DEFAULT and VIEW, respectively.

    When a ruler is saved, the name and type from the window is assigned. These values can be changed, but you will save the ruler under the same name, DEFAULT.

    Three options appear in the Exit Option window: KEEP, CLEAR and SAVE.

    Table 5 Options of the Exit Option Window

    Option

    Description

    KEEP

    Temporarily keeps the ruler definition in memory – until you change rulers (using the RULER name command), view a different report, or leave the Online Viewing facility.

    Note: Pressing the QUICKVIEW key in an editing screen automatically performs a keep operation.

    CLEAR

    Erases the work you did in report editing. This option leaves no ruler current in your Report Viewing screen.

    Note: You should select this option if you do not want to retain the work done in report editing.

    SAVE

    Creates a permanently stored copy on disk until overwritten or deleted of the ruler that can be retrieved when needed.

    Select this option if you think a ruler can be useful in the future.

  3. Type 3 in the Exit option field (as shown below) and press Enter, to save the ruler.

    Figure 39 Saving the Ruler on Exit

    ------------------------  CONTROL-D - REPORT EDITING  --------------------(U.E)

    COMMAND/OPT ===>                            +---------------------------------+

    USER DEMO          REPORT EMPLOYEES-MAR     |                                 |

                                                |    PLEASE SELECT EXIT OPTION    |

                                                |                                 |

      RULER NAME  ===> DEFAULT                  |    Exit option ===> 3           |

      RULER TYPE  ===> VIEW                     |                                 |

      REPORT NAME ===>                          |     1  KEEP ruler active        |

      JOB NAME    ===>                          |     2  CLEAR (no ruler)         |

      USER NAME   ===>                          |     3  SAVE ruler as:           |

                                                |                                 |

                                                |    Ruler name  ===> DEFAULT     |

      1   EDIT    report lines and columns      |    Ruler type  ===> VIEW        |

                                                |                                 |

      2   INCLUDE lines based on strings        +---------------------------------+

      3   EXCLUDE lines based on strings

      4   COLOR   lines based on strings

    PLEASE SELECT OPTION, OR PRESS PF3 to SAVE/EXIT THE RULER              16.51.06

    The Report Viewing screen is now displayed with ruler DEFAULT.

    This ruler definition is now saved. Even if you exit and re-enter the Online Viewing facility, you can view this report using this ruler.

Parent Topic

Basic Report Viewing and Editing (Using Rulers)