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.

Example<br />

OMS<br />

/SELECT TABLES<br />

/IF COMMANDS = [’Regression’]<br />

/EXCEPTIF SUBTYPES = [’Notes’ ’Case Summar*’]<br />

/DESTINATION...<br />

DESTINATION Subcommand<br />

OMS 1117<br />

The DESTINATION subcommand is the only required subcommand. It specifies the format<br />

and location for the routed output. You can also use this subcommand to control what output<br />

is displayed in the Viewer.<br />

• Output continues to flow to a specified destination until its OMS specification is ended,<br />

at which point the file is closed. See “Basic Operation” on p. 1111 and “OMSEND” on p.<br />

1156 for more information.<br />

• Different OMS commands may refer to the same destination file as long as the FORMAT<br />

is the same. When a request becomes active, it starts contributing to the appropriate output<br />

stream. If the FORMAT differs, an error results. When multiple requests target the<br />

same destination, the output is written in the order in which it is created, not the order of<br />

OMS commands.<br />

Example<br />

OMS<br />

/DESTINATION FORMAT = OXML OUTFILE = ’c:\mydir\myfile.xml’.<br />

FORMAT Keyword<br />

The DESTINATION subcommand must include either a FORMAT or VIEWER specification (or<br />

both). The FORMAT keyword specifies the format for the routed output. The keyword must<br />

be followed by an equals sign (=) and one of the following alternatives:<br />

HTML HTML 4.0. Output objects that would be pivot tables in the Viewer are converted<br />

to simple HTML tables. No TableLook attributes (font characteristics,<br />

border styles, colors, etc.) are supported. Text output objects are tagged<br />

in the HTML. All charts and maps are excluded.<br />

OXML SPSS Output XML. XML that conforms to the SPSSOutputXML.xsd schema.<br />

Maps created by the MAPS command and charts created by the IGRAPH command<br />

are excluded. All other charts are included as XML that conforms to<br />

[some chart xml schema name]. See “OXML Table Structure” on p. 1132 for<br />

more information about SPSS Output XML.<br />

SAV SPSS format data file. This is a binary file format. All output object types<br />

other than tables are excluded. Each column of a table becomes a variable in<br />

the data file. To use a data file created with OMS in the same session, you<br />

must specify an OMSEND command to end the active OMS request before<br />

you can open the data file. See “Routing Output to SAV Files” on p. 1123<br />

for more information about SAV files.

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

Saved successfully!

Ooh no, something went wrong!