27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

REPORT 1429<br />

• The specification on TITLE or FOOTNOTE is the title or footnote in apostrophes or quotation<br />

marks. To specify a multiple-line title or footnote, enclose each line in apostrophes<br />

or quotation marks and separate the specifications for each line by at least one blank.<br />

• The default REPORT title is the title specified on the TITLE command. If there is no TITLE<br />

command specified in your session, the default REPORT title is the first line of the header.<br />

• Titles begin on the first line of the report page. Footnotes end on the last line of the report page.<br />

• Titles and footnotes are repeated on each page of a multiple-page report.<br />

• The positional keywords LEFT, CENTER, and RIGHT can each be specified once. The<br />

default is CENTER.<br />

• If the total width needed for the combined titles or footnotes for a line exceeds the page<br />

width, REPORT generates an error message.<br />

LEFT Left-justify titles or footnotes within the report page margins.<br />

RIGHT Right-justify titles or footnotes within the report page margins.<br />

CENTER Center titles and footnotes within the report page width.<br />

The following can be specified as part of the title or footnote.<br />

)PAGE Display the page number right-justified in a five-character field.<br />

)DATE Display the current date in the form dd/mmm/yy, right-justified in a ninecharacter<br />

field.<br />

)var Display this variable’s value label at this position. If you specify a variable<br />

that has no value label, the value is displayed, formatted according to its print<br />

format. You cannot specify a scratch or system variable or a variable created<br />

with the STRING subcommand. If you want to use a variable named DATE or<br />

PAGE in the file, change the variable’s name with the RENAME VARIABLES<br />

command before you use it on the TITLE or FOOTNOTE subcommands, to<br />

avoid confusion with the )PAGE and )DATE keywords.<br />

• )PAGE, )DATE, and )var are specified within apostrophes or quotation marks and can be<br />

mixed with string segments within the apostrophes or quotation marks.<br />

• A variable specified on TITLE or FOOTNOTE must be defined in the working data file, but<br />

does not need to be included as a column on the report.<br />

• One label or value from each variable specified on TITLE or FOOTNOTE is displayed on<br />

every page of the report. If a new page starts with a case listing, REPORT takes the value<br />

label from the first case listed. If a new page starts with a BREAK line, REPORT takes the<br />

value label from the first case of the new break group. If a new page starts with a summary<br />

line, REPORT takes the value label from the last case of the break group being summarized.<br />

Example<br />

/TITLE=LEFT ’Personnel Report’ ’Prepared on )DATE’<br />

RIGHT ’Page: )PAGE’<br />

• TITLE specifies two lines for a left-justified title and one line for a right-justified title.<br />

These titles are displayed at the top of each page of the report.<br />

• The second line of the left-justified title contains the date on which the report was processed.

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

Saved successfully!

Ooh no, something went wrong!