Previous Topic: What You Can DoNext Topic: Demonstration (2): Adding Subtitles


Demonstration (1): Formatting Multiple Line Column Headings

Objective

This report prints a 2 line heading for the employee column and a 3 line heading for the salary column.

Parameters

REC EMPLOYEE 5 25 'EMPLOYEE' 'NAME'

'EMPLOYEE' is the first line of the EMPLOYEE column heading.

'NAME' is the second line.

0151*020 SALARY HH 'ANNUAL' 'SALARY' 'AMOUNT'

'ANNUAL' is the first line of the salary column heading.

'SALARY' is the second line.

'AMOUNT' is the third line.

Complete Code

col. 2
▼
IN  200 F 400 PS(TAPE)
REC EMPLOYEE      5   25        'EMPLOYEE'  'NAME'
REC SALARY      160    5  3  DP=2
013 EMPLOYEE SALARY LISTING
0151*010 EMPLOYEE               HR
0151*020 SALARY                 HH 'ANNUAL' 'SALARY' 'AMOUNT'

Result

REPORT NO. 01        EMPLOYEE SALARY LISTING      mm/dd/yy PAGE     1        ROY       ANDALE                             $33,500.00        HARRY     ARM                                $46,000.00        MONTE     BANK                               $80,000.00        CHARLES   BOWER                              $38,000.00        C.        BREEZE                             $38,000.00        TERRY     CLOTH                              $38,000.00        BETH      CLOUD                              $52,750.00        HERBERT   CRANE                              $75,000.00        CAROLYN   CROW                               $37,500.00        ALAN      DONOVAN                            $33,500.00        JANE      DOUGH                              $33,000.00        JANE      FERNDALE                           $22,500.00        PHINEAS   FINN                               $45,000.00        JAMES     GALLWAY                            $33,000.00        JENNIFER  GARFIELD                           $65,000.00        PERCY     GRANGER                            $34,500.00