HP 3000 Manuals

Line Headers [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Line Headers 

To print the details read from link files, HP ALLBASE/4GL uses the link
detail line groups D2 to D9.  For the KSAM based and the HP TurboIMAGE/iX
applications, line group D2 is used for details from the option file.

For the HP ALLBASE/SQL based application, no file linkages are used, so
the only detail line group used is D1.

This is the major difference between the KSAM and HP TurboIMAGE/iX line
header information and the HP ALLBASE/SQL line header information.

If you are developing the KSAM based application or the HP TurboIMAGE/iX
based application, read on below.

If you are developing the HP ALLBASE/SQL based application, turn to HP
ALLBASE/SQL Based Applications.

KSAM Based and HP TurboIMAGE/iX Based Applications 

   1.  Press the  Line Header  function key to start defining the line
       headers for the report.

       Only those fields which require specific entries are shown here.

   2.  Accept the default entry for any fields that are not listed here.

     Line Group            Line Number        Skip Lines Before     Skip Lines After 
                                                    Print                 Print 

---------------------------------------------------------------------------------------

         P1                    01                     0                     1

                               02                     0                     1

---------------------------------------------------------------------------------------

         D1                    01                     2                     1

                               02                     1                     1

                               03                     1                     2
---------------------------------------------------------------------------------------

         T1                    01                     2                     1

---------------------------------------------------------------------------------------

         TF                    01                     3                     1

---------------------------------------------------------------------------------------

         E1                    01                     0                     1

   3.  Also define a header for the following line:

       D2.01 This is the first line of the second detail group.  This
       line contains the option details and is printed as a result of a
       link to the option file.  You will learn more about file linkages
       shortly.

       Line Group          D2

       Line Number         01

       Action              A

       Before Print        print_option
       Function

       The before print function print_option tests to see if any options
       were found and it prints a message if none were found.  You will
       create the function and message soon.

       The E1.01 line is printed from the print_option function mentioned
       above.  It tells the user that no options were found for the
       particular product just printed.

   4.  Turn to Report File Linkages to continue developing the
       application.

HP ALLBASE/SQL Based Applications 

   1.  Press the  Line Header  function key to start defining the line
       headers for the report.

       Only those fields which require specific entries are shown here.

   2.  Accept the default entry for any fields that are not listed here.

     Line Group            Line Number        Skip Lines Before     Skip Lines After 
                                                    Print                 Print 

---------------------------------------------------------------------------------------

         P1                    01                     0                     1

                               02                     0                     1
---------------------------------------------------------------------------------------

         H1                    01                     2                     1

                               02                     1                     1

                               03                     1                     2

---------------------------------------------------------------------------------------

         D1                    01                     0                     1

---------------------------------------------------------------------------------------

         T1                    01                     2                     1

---------------------------------------------------------------------------------------

         TF                    01                     3                     1

You have now completed all the line headers required for this report.



MPE/iX 5.0 Documentation