Skip Headers

Oracle® OLAP DML Reference
10g Release 1 (10.1)

Part Number B10339-02
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page

Go to previous page
Go to next page
View PDF


The TMARGIN option defines the number of blank lines for the top margin of output pages, above the running page heading. TMARGIN is meaningful only when PAGING is set to YES and only for output from statements such as REPORT and DESCRIBE. The TMARGIN option is usually set in the initialization section of report programs.

Data type






An integer expression that specifies the number of lines that you want to set aside for the top margin in a report. The default is 2.


Producing the Top Margin Lines

The top margin lines are produced before the program that is defined by PAGEPRG, if any, is run.

Output to the Default Outfile

When you set TMARGIN for the default outfile, the new value remains in effect until you reset it, regardless of intervening OUTFILE commands that send output to a file. That is, the value of TMARGIN is automatically saved for the default outfile.

Output to a File

To set TMARGIN for a file, first make the file your current outfile by specifying its name in an OUTFILE command, then set TMARGIN to the desired value. The new value remains in effect until you reset it or until you use an OUTFILE command to direct output to a different outfile. When you direct output to a different outfile, TMARGIN returns to its default value of 2 for the file.


Example 23-15 Setting the Top Margin of a Report

In this example, you want to save space when you produce a long report, so you set a small top margin of 1 line. Here is the statement that you would include in the initialization section of your report program.