Ch 6. Line Counter Specifications [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation
HP RPG/iX Reference Manual
Chapter 6 Line Counter Specifications
This specification lets you change the defaults used during skipping
operations (see the Skip Field (columns 19-22) in the Output
Specification). If you do not use a Line Counter Specification, the
defaults are those shown in Table 6-1 . Use the Line Counter
Specification for print files and for disk files that you want to keep in
printable format. When you enter a Line Counter Specification, use
either the Channel Number Fields, or the Line Number Fields:
* Channel Number Fields
These fields let you assign line numbers to logical printer
carriage control channels (only Channel 1 on an actual printer
carriage control tape is used in RPG). Then, in the Output
Specifications for the file, enter the channels in the Skip Field
(columns 19-22) to advance the printer paper to the associated
line number. When you use the Channel Number Fields, leave the
Carriage Control Type Field (column 53) blank in the Header
Specification.
* Line Number Fields
These fields let you change the line where page overflow occurs
and also lets you change the number of lines per page. Any
entries that you make in the Skip Field (columns 19-22) of Output
Specifications are interpreted as line numbers and RPG advances
the paper to those line positions. When you use the Line Number
Fields, enter an L or 1 in the Carriage Control Type Field of the
Header Specification.
The Line Counter Specification is identified by an L in column 6:
___________________________________________________________________________________
| |
| 1 2 3 4 5 6 7 |
| 678901234567890123456789012345678901234567890123456789012345678901234|
| _______________________________________________________ |
| |
| L |
| |
| |
___________________________________________________________________________________
Figure 6-1. The Line Counter Specification
MPE/iX 5.0 Documentation