Previous Topic: ExampleNext Topic: Define and Set Variables


Set the Page Length

You can use the variable RLINEMAX to control the number of lines (including headings) printed on each page of the report. You assign the value to this variable with a SET statement preceding the REPORT statement. For a description of the SET command, see Set Values for Variables. The default value of RLINEMAX is 60 lines.

For example, the following control records produce a report file named KEYSREPT that has a maximum number of 50 lines on each page:

SET RLINEMAX '50' 
REPORT GIVING(KEYSREPT) USING(KEYSEXTR) 
((' &UIDXNAME' '&UIDXMKEY' '&UIDXJKEY'))