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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SUBTYPES Keyword<br />

OMS 1115<br />

The SUBTYPES keyword restricts the selection to the specified table types The keyword<br />

SUBTYPES must be followed by an equals sign (=) and a list of quoted subtype identifiers<br />

enclosed in square bracket, as in:<br />

OMS<br />

/SELECT TABLES<br />

/IF SUBTYPES = [’Descriptive Statistics’ ’Coefficients’]<br />

/DESTINATION...<br />

• Subtypes only apply to tables that would be displayed as pivot tables in the Viewer.<br />

• Like command identifiers, subtype identifiers are not case-sensitive and are not subject to<br />

translation.<br />

• Unlike command identifiers, subtype identifiers are not necessarily unique. For example,<br />

multiple commands produce a table with the subtype identifier ’Descriptive Statistics,’<br />

but not all of those tables share the same structure. If you only want a particular table type<br />

for a particular command, use both the COMMANDS and SUBTYPES keywords.<br />

• A complete list of subtype identifiers is provided in “<strong>Command</strong> and Subtype Identifiers”<br />

on p. 1136. You can also obtain the identifier for a particular table by generating output<br />

from the command in the Viewer and then right-clicking outline item for the Table in the<br />

outline pane of the Viewer and selecting Copy OMS Table Subtype from the context<br />

menu. The identifiers are generally fairly descriptive of the particular table type.<br />

LABELS Keyword<br />

The LABELS keyword selects particular output objects according to the text displayed in the<br />

outline pane of the Viewer. The keyword LABELS must be followed by an equals sign (=) and<br />

a list of quoted label text enclosed in square brackets, as in:<br />

OMS<br />

/SELECT TABLES<br />

/IF LABELS = [’Job category * Gender Crosstabulation’]<br />

/DESTINATION...<br />

The LABELS keyword is useful for differentiating between multiple graphs or multiple tables<br />

of the same type in which the outline text reflects some attribute of the particular ouput object<br />

such as the variable names or labels. There are, however, a number of factors that can affect<br />

the label text:<br />

• If split file processing is on, split file group identification may be appended to the label.<br />

• Labels that include information about variables or values are affected by the OVARS and<br />

ONUMBERS settings on the SET command.<br />

• Labels are affected by the current output language setting (SET OLANG).<br />

INSTANCES Keyword<br />

The INSTANCES subcommand selects the nth instance of an object matching the other criteria<br />

on the IF subcommand within a single command execution. The keyword INSTANCES must

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

Saved successfully!

Ooh no, something went wrong!