HP 3000 Manuals

REPORT FORMAT OPTIONS AND BATCH JOB OPTIONS [ INFORM/V User's Guide ] MPE/iX 5.0 Documentation


INFORM/V User's Guide

Chapter 8  REPORT FORMAT OPTIONS AND BATCH JOB OPTIONS 

  

This section contains the information you need to alter the appearance of
a report on the terminal or on printer paper, or to control the default
parameters for creating reports in batch mode.  Normally, without any
instructions from you, INFORM/V formats reports or creates batch jobs
according to preset values called defaults.  If you want to override
these default values, choose option 8 on the Main Menu, as is shown in
Figure 8-1.  You can also use this option to see what options are
available, and what the default values are, without changing them.
________________________________________________________________
|                                                              |
|      INFORM/V   HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986|
|                                                              |
|      INFORM OPTIONS:                                         |
|                                                              |
|            1: DEFINE A REPORT                                |
|            2: DISPLAY REPORT CATALOG                         |
|            3: SELECT A REPORT DEFINITION                     |
|            4: PREVIEW REPORT LAYOUT                          |
|            5: PRODUCE THE REPORT                             |
|            6: ADD REPORT DEFINITION TO CATALOG               |
|            7: DELETE A REPORT DEFINITION FROM CATALOG        |
|            8: SET OPTIONS                                    |
|            9: MODIFY THE REPORT                              |
|           10: EXIT FROM INFORM/V                             |
|                                                              |
|      TYPE AN OPTION NUMBER> 8                                |
________________________________________________________________

          Figure 8-1.  Choosing to Change Format or Batch Options 

When you select option 8, the Format Options Menu is displayed, and the
prompts shown in Figure 8-2 appear one at a time.  Each prompt shows you
what the current value of the option is.  If you have changed any option
during the current INFORM/V session, then the value you have set appears
here.  If not, this menu will show all default values.
________________________________________________________________
|                                                              |
|      INFORM/V   HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986|
|                                                              |
|      FORMAT OPTIONS:                                         |
|                                                              |
|      CURRENT VALUES IN PARENTHESES                           |
|                                                              |
|              TERMINAL PAGE WIDTH ( 79)>                      |
|             TERMINAL PAGE LENGTH ( 22)>                      |
|               PRINTER PAGE WIDTH (132)>                      |
|              PRINTER PAGE LENGTH ( 58)>                      |
|                  SHOW TITLE LINE (YES)>                      |
|                     SHOW HEADING (YES)>                      |
|            ELIMINATE BLANK LINES ( NO)>                      |
|        ELIMINATE DUPLICATE LINES ( NO)>                      |
|       USE DEFAULT BATCH RESPONSES(YES)>                      |
|      NATIVE LANGUAGE(NATIVE-3000     )>                      |
|                                                              |
|      TYPE 'RETURN' KEY TO CONTINUE                           |
|                                                              |
|                                                              |
|                                                              |
________________________________________________________________

          Figure 8-2.  Format Options Menu 

When you leave INFORM/V, all options are automatically reset to their
default values.

Any report definition that you add to the INFORM/V catalog (option 6 on
the Main Menu) includes the format options that were in effect when the
report was created.  When you activate a saved report, not only is it
produced with the format options with which it was saved; it also changes
the default environment so that any new reports created during the
session have the same options.  You can reset the options to default
values by leaving INFORM/V and reentering it, or by calling up the Format
Options Menu and resetting the options to their default value.

To change format options on a saved report, first call up the report from
the catalog, then call up the Format Options Menu and make the changes
you want, then use option 6 to save the report again.  Note that any
changes in format will not become part of the report unless it is
resaved.

Formatting Prompts 

There are eight ways to change the format of a report, each corresponding
to the prompts shown on the Format Option Menu.  The numbers in
parentheses are the preset (or current) values.  These values may be
changed by typing a different value next to the prompt.

The final two prompts on the Format Option Menu control two related
parameters:  the next to last controls use of batch options, and the last
controls the language that INFORM/V uses.

All the prompts are described in order below.

TERMINAL PAGE WIDTH ( 79)> - - This prompt may be used to change the
number of characters per line you want to display on a terminal.  If your
terminal can display more than 79 characters per line, then you can
change the terminal page width to take advantage of the terminal's
capacity.  You may set terminal page width to any value between 1 and
300.

TERMINAL PAGE LENGTH ( 22)> - - The number of lines displayed on the
terminal can be changed using this prompt.  The range of values you can
give in response to this prompt is 1 to 500 lines.  When the report is
displayed, the message:

       CONTINUE (Y/N)>

appears following the specified number of lines.  If you type Y or
RETURN, the next 22 lines (or whatever number you specify) are displayed,
and you are reprompted with:

       CONTINUE (Y/N)>

You may want to display the report continuously from beginning to end.
To do so, type C (for "continuous") in response to the PAGE LENGTH
prompt.

PRINTER PAGE WIDTH (132)> - - This prompt may be used to change the
number of characters displayed on each printed line.  This number may
range from 1 to 300.  A line length greater than 132 should only be used
if you are printing in compressed mode or using a laser printer.

PRINTER PAGE LENGTH ( 58)> - - The number of lines printed per page.
After the specified number of lines are printed, the printer goes to the
top of the next page, prints the header, report title, and column
headings, then continues with the report.  The range of acceptable values
is 1 to 500 lines.  If you type C, INFORM/V prints the report
continuously from beginning to end.

SHOW TITLE LINE (YES)> - - If you change the preset value from YES to NO,
the header (which consists of the date, time, and page number) will not
be printed at the top of each printed page.  Note that this option does
not apply to the title that you specify when you define a report.  It
applies to the header line normally printed by the printer on the top of
each page, above the report title.

SHOW HEADINGS (YES)> - - Normally, each time a new screenful of
information is displayed or a new page of the report is printed, column
headings (data names) are shown.  By typing NO to this prompt, you will
suppress the column headings.

ELIMINATE BLANK LINES ( NO)> - - This prompt gives you the option of
keeping or deleting all blank lines that might result when no data is
available for some lines of the report.

ELIMINATE DUPLICATE LINES ( NO)> - - This prompt specifies that only the
first of a series of duplicate lines is to be displayed on the terminal
or printed on the printer.

USE DEFAULT BATCH RESPONSES (YES)> - - This prompt allows you to override
the default parameters that are normally used when producing reports in
batch mode.  If you answer N to this prompt, then when you produce a
report in batch, you will be prompted for several options on the Report
Process Menu after you have supplied the required passwords.  The prompts
are shown and explained at the end of this section.

NATIVE LANGUAGE (default language) - - This prompt allows you to choose
the language to be used.  INFORM/V looks for a specified user language
and if it finds one, it puts that language in as the default:  for
example,

       NATIVE LANGUAGE (FINNISH)>

The response to the LANGUAGE prompt must be a one- or two-digit code that
signifies the language.  See the Native Language Support Reference Manual 
(32414-90001) for a table of the allowed codes.

Batch Options 

By default, when a batch job is set up, the system supplies a job name,
prints out information about the job in a job listing, and cleans up the
files created during the batch operation.  INFORM/V allows you to
override the normal processing features.  If you want to do so, you need
to call up the Format Options Menu by choosing option 8 on the Main Menu,
then answering N to the following prompt on the Format Options Menu:

       USE DEFAULT BATCH RESPONSES (YES)>

Then, when you produce a report in batch mode, you will be prompted to
supply values for the following options:

SAVE REPORT IN CATALOG?(N/Y)> - - If you are sure at this point that the
report is the way you want it, you can save it right away by answering Y
to this prompt.  INFORM/V will then prompt for the report name and the
description to store in the catalog.

TYPE REPORT NAME(6)> - - This prompt occurs only if you have decided to
save the report.  Enter the name under which you want to save the report
in the catalog, up to six characters.

TYPE REPORT DESCRIPTION(50)> - - You may enter a description, up to fifty
characters, that will be saved in the report catalog.  This description
is shown whenever the catalog is displayed or printed.

ENTER JOB NAME (INFJOB)> - - If you respond by typing RETURN, the default
job name INFJOBnn will be used; the nn will be replaced by a two-digit
number to make the job name unique.  Alternatively, you can enter a name
of your choice.  It can be up to eight characters, and the first
character must be alphabetic.

PURGE $STDLIST UPON COMPLETION OF JOB?(N/Y)> - - If you respond by typing
RETURN or N, the file $STDLIST will be retained after the job is done.
If you respond with Y, $STDLIST will be purged.

PURGE JOB FILE UPON COMPLETION OF JOB?(Y/N)> - - If you respond with
RETURN or Y, the job file will be purged after the job is done.  If you
answer N, the job file will be retained.

Figure 8-3 shows the Data Names Menu as it appears when batch options are
under manual control.
________________________________________________________________________________
|                                                                              |
|      INFORM/V   HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986                |
|                                                                              |
|      DATA NAMES IN CUSTG                                                     |
|                                                                              |
|         1: CUSTOMER ACCOUNT      3: CUSTOMER ADDRESS      5: CUSTOMER STATE  |
|         2: CUSTOMER NAME         4: CUSTOMER CITY         6: CUSTOMER COUNTRY|
|                                                                              |
|      TYPE NUMBER(S) FOR DATA NAME(S):                                        |
|                                                                              |
|                 TO INCLUDE IN REPORT> 1                                      |
|                           TO SORT BY> !                                      |
|                                                                              |
|      REPORT TITLE> CUSTOMER LIST                                             |
|                                                                              |
|      PREPARING REPORT                                                        |
|                                                                              |
|      PRODUCE THE REPORT(Y/N)?>                                               |
|                                                                              |
|      PRODUCE REPORT IN BATCH MODE?(N/Y)> Y                                   |
|                                                                              |
|      SAVE REPORT IN CATALOG?(N/Y)> Y                                         |
|                                                                              |
|      TYPE A REPORT NAME(6)> CUSTLI                                           |
|                                                                              |
|      TYPE REPORT DESCRIPTION(50)> COMPLETE CUSTOMER LIST                     |
|                                                                              |
|      ENTER JOB NAME(INFJOB)> XJOB10                                          |
|                                                                              |
|      PURGE $STDLIST UPON COMPLETION OF JOB?(N/Y)>                            |
|                                                                              |
|      PURGE JOB FILE UPON COMPLETION OF JOB?(Y/N)>                            |
________________________________________________________________________________

          Figure 8-3.  Prompts for Batch Options 

One additional batch prompt occurs on the Report Process Menu when batch
options are under manual control.

ENTER JOB PRIORITY> - - This option should be used if you want to defer
the job for processing overnight.  Job priority levels differ from
installation to installation, and are determined by the system operator.
If you want to defer processing, your database administrator can tell you
what information to enter in response to this prompt.

Figure 8-4 shows the Report Process Menu as it appears when batch options
are under manual control.  All prompts are the same as for normal
processing except the PRIORITY prompt.
________________________________________________________________
|                                                              |
|      INFORM/V   HP32246v.uu.ff - (C) Hewlett-Packard Co. 1986|
|                                                              |
|      REPORT PROCESS STARTED                                  |
|                                                              |
|      PASSWORD FOR PURCHA>                                    |
|                                                              |
|                                                              |
|      PREPARE TO STREAM BATCH JOB                             |
|                                                              |
|      ENTER USER PASSWORD>                                    |
|                                                              |
|      ENTER ACCOUNT PASSWORD>                                 |
|                                                              |
|      ENTER GROUP PASSWORD>                                   |
|                                                              |
|      ENTER JOB PRIORITY> 2                                   |
|                                                              |
|       #J93                                                   |
|      BATCH JOB SUCCESSFULLY STREAMED                         |
|                                                              |
|      RETURN TO CURRENT DATA NAMES MENU(Y/N)?>                |
|                                                              |
|                                                              |
________________________________________________________________

          Figure 8-4.  The Report Process Menu when Batch Options Are Under Manual Control 



MPE/iX 5.0 Documentation