If you want normal spacing to apply to output from a PRINT file at the terminal, you must supply your own tab table for PL/I. This is done by declaring an external structure called PLITABS in the main program or in a program linked with the main program and initializing the element PAGELENGTH to the number of lines that can fit on your page. This value differs from PAGESIZE, which defines the number of lines you want to print on the page before ENDPAGE is raised (see Figure 15). If you require a PAGELENGTH of 64 lines, declare PLITABS as shown in Figure 14. For information on overriding the tab table, see Overriding the tab control table.
If your code contains a declare for PLITABS, not only must the pagesize, linesize and other values be valid, but the first field in the PLITABS structure must also be valid. This field is supposed to hold the offset to the field specifying the number of tabs set by the structure, and the Enterprise PL/I library code will not work correctly if this is not true.
DCL 1 PLITABS STATIC EXTERNAL,
( 2 OFFSET INIT (14),
2 PAGESIZE INIT (60),
2 LINESIZE INIT (120),
2 PAGELENGTH INIT (64),
2 FILL1 INIT (0),
2 FILL2 INIT (0),
2 FILL3 INIT (0),
2 NUMBER_OF_TABS INIT (5),
2 TAB1 INIT (25),
2 TAB2 INIT (49),
2 TAB3 INIT (73),
2 TAB4 INIT (97),
2 TAB5 INIT (121)) FIXED BIN (15,0);