HP 3000 Manuals

Lesson 4: Quiz 5 [ HP ALLBASE/BRW Tutorial ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Tutorial

Lesson 4:  Quiz 5 

   1.  If you have a report with five different selection sets, and you
       compile the report with each set:  (a) How many execution files
       will you have?  (b) How many specification files will you have?

          a.  Five.

          b.  One.

   2.  Can you request a report containing a "required" parameter without
       supplying a value for that parameter?

              No.  If a parameter is required, you must supply a value
              for it.

   3.  What will happen if a sales manager, when requesting the report
       execution file SALESMAN.BRWEXEC, enters a value of "HELLO MOTHER!"
       for parameter AREA?

              The report will run, but it will not select any data,
              because there are no records that satisfy the selection
              condition:

                   (SALES-AREA = "HELLO MOTHER!")

              Note that BRW can make sure that you enter a parameter of
              the correct result type (Real, Integer, and so on) and of
              the correct type of parameter (List-of-Values, and so on).
              BRW can make sure that any string value does not exceed the
              maximum length of a string parameter.  BRW can make sure
              that a value is given for a required parameter.  Note:  BRW
              cannot check for "sensible" parameter values or
              typographical errors in parameter values.

   4.  Must you allow one report to finish before requesting another?  If
       not, how many reports can be requested at one time?

              No.  The number of reports that can be requested depends
              entirely on the number of concurrent jobs your HP3000
              allows.  BRW streams a job for each report.  (This is why
              you can request more than one report at a time, and why it
              is currently impossible to check for incorrect parameter
              values on the Request Report screen.)



MPE/iX 5.0 Documentation