18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BEGIN.PAGE (BP)<br />

BEGIN.PAGE (BP)<br />

The BEGIN.PAGE; command designates a Frame that is to appear as a heading at the top<br />

of each new page of a Report. The BEGIN.PAGE; command does not generate a new page<br />

when it occurs.<br />

If several Frames are required as headings, use multiple BEGIN.PAGE; commands to<br />

specify the required Frames. The Frames are printed at the top of all subsequent pages in<br />

numerical frame order, not the order in which they are specified.<br />

The logic of the heading Frame is executed after the logic of the Frame currently being<br />

printed, during the printing of the Frame.<br />

The BEGIN.PAGE; CLEAR command cancels the definition of all headings. It causes an<br />

advance to a new page when the next frame is printed.<br />

Note: When the BEGIN.PAGE; CLEAR command is executed, GLB.LINECOUNT is set<br />

to 9999 to force the new page. Since the logic of the print frame is executed<br />

before the advance to new page occurs, the value of GLB.LINECOUNT is 9999,<br />

not 0.<br />

Reports Using <strong>LINC</strong> Report Output Control (ROC)<br />

An ADVANCE; NEW.PAGE command specified within a heading causes the heading to<br />

continue on the next page without restarting the heading. Use the END.NO.PRINT;<br />

command to suppress output.<br />

There is no limit on the length of the heading.<br />

Notes:<br />

$ If GLB.FORMDEPTH is set to zero, headings are not printed. In this case, use the<br />

PRINT.FRAME; command to print the headings you require.<br />

$ ROC is not available with LDA.<br />

Reports Not Using ROC<br />

During the definition of headings, the following situations may result in the creation of an<br />

infinite loop:<br />

$ An ADVANCE; NEW.PAGE command included within a heading<br />

$ An END.NO.PRINT; command in a heading<br />

$ The length of a heading equals or exceeds GLB.FORMDEPTH<br />

These situations should be avoided.<br />

1-48 v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!