SQL/MP Reference Manual
HP NonStop SQL/MP Reference Manual—523352-013
C-12
CENTER_REPORT Option
CENTER_REPORT Option
CENTER_REPORT is an option of the SQLCI report writer SET LAYOUT command
that controls whether reports are centered within the left and right margins.
Consideration—CENTER_REPORT
If you specify ON, the report writer centers the whole report as a block of text. To
compute the report width, the report writer examines lines of the report (including
titles, footings, detail lines, and so forth) and determines the leftmost and rightmost
positions containing data or text.
During these calculations, the report writer ignores lines defined with a CENTER
clause and leading and trailing TAB clauses. (In a TAB clause, the number you
specify relates to an absolute character position before the report is centered.)
The default is OFF.
Example—CENTER REPORT
This command centers all reports until you reset the CENTER_REPORT option:
>> SET LAYOUT CENTER_REPORT ON;
CENTER_REPORT { OFF }
{ ON }