A Summary of Statements and Functions
The BREAK statement establishes the criteria for determining the level break condition.
END REPORT DESCRIPTION
The END REPORT DESCRIPTION statement must be used to end the description section.
GRAND TOTALS ON exp1[,exp2...]
The GRAND TOTALS ON statement provides automatic totaling for the entire report.
HEADER level [WITH number LINES]
[USING [;list]][block statements]
The HEADER statement defines what is to be done as a heading when the specified level break occurs. The USING parameters are the same as in a PRINT USING statement.
LEFT MARGIN column
The LEFT MARGIN statement sets the column in which each line of the report will begin.
PAGE HEADER [WITH number LINES]
[ USING[;list]][block statements]
The PAGE HEADER statement defines what is to be done at the top of every page. The USING parameters are the same as in a PRINT USING statement.
PAGE LENGTH lines per page [,blank top , blank bottom]
The PAGE LENGTH statement specifies the number of lines there are on the page. The number of blank lines to be printed at the top and bottom of the page may also be specified.
PAGE TRAILER [WITH number LINES]
[USING [;list]][block statements]
The PAGE TRAILER statement defines what is to be done at the bottom of each page. If more than one line is used, that number should be specified. The USING parameters are the same as in a PRINT USING statement.
PAUSE AFTER number PAGES
The PAUSE AFTER statement causes a pause to occur after the specified number of pages has been output. The [ENTER] key is pressed to resume output.
PRINT DETAIL IF condition expression
The PRINT DETAIL IF statement causes exceptional detail lines only to be printed without affecting the totaling functions.
REPORT EXIT (exec flag) [WITH number LINES]
[USING [;list]][block statements]
The REPORT EXIT statement defines what action is to be taken when the report is prematurely stopped.
[label:]REPORT HEADER [WITH number LINES]
[USING [;list]][block statements]
The REPORT HEADER statement begins the description section. It specifies what is to be done at the beginning of the report. The USING parameters are the same as in a PRINT USING statement.
REPORT TRAILER [WITH number LINES]
[USING [;list]][block statements]
The REPORT TRAILER statement defines what is to be done at the end of the report. If more than one line is required, that number should be specified. The USING parameters are the same as in PRINT USING statement.
SUPPRESS PRINT AT level
The SUPPRESS PRINT AT statement specifies the level of headers and trailers that will be printed. Those with equal or higher levels will not be printed.
SUPPRESS PRINT FOR number PAGES
The SUPPRESS PRINT FOR statement causes the first specified number of pages not to be printed.
TOTALS ON exp1[,exp2...]
The TOTALS ON statement provides automatic totaling for a break level. It immediately follows a header statement.
TRAILER level [WITH number LINES]
[USING [;list]][block statements]
The TRAILER statement defines what is to be done as a trailer for the specified break level. If more than one line is required, that number should be specified. The USING parameters are the same as in a PRINT USING statement.