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.

OMS 1111<br />

• SPSS data file format (SAV). Output that would be displayed in pivot tables in the Viewer<br />

can be written out in the form of an SPSS data file, making it possible to use output as<br />

input for subsequent commands.<br />

• XML. Tables, text output, and even many charts can be written out in XML form.<br />

• HTML. Tables and text output can be written out as HTML.<br />

• Text. Tables and text ouput can be written out as simple text<br />

The OMS command cannot route charts or warnings objects created by the IGRAPH command<br />

or maps created by the MAPS command.<br />

Basic Specification<br />

The basic specification is the command name followed by a DESTINATION subcommand that<br />

contains a FORMAT and/or a VIEWER specification. For FORMAT, an OUTFILE or<br />

OUTPUTSET specification is also required.<br />

<strong>Syntax</strong> Rules<br />

• All subcommands except DESTINATION are optional. No subcommand may occur more<br />

than once in each OMS command.<br />

• Multiple OMS commands are allowed and are processed as discussed in “Basic Operation”<br />

on p. 1111.<br />

• Subcommands can appear in any order.<br />

• If duplicates are found in a list, they are ignored except in /COLUMNS SEQUENCE where<br />

they cause an error.<br />

• When a keyword takes a square-bracketed list, the brackets are required even if the list contains<br />

only a single item.<br />

Basic Operation<br />

• Once an OMS command is executed, it remains in effect until the end of the session or<br />

until ended by an OMSEND command (see “OMSEND” on p. 1156).<br />

• A destination file specified on an OMS command is unavailable to other SPSS commands<br />

and other applications until the OMS command is ended by an OMSEND command or the<br />

end of the SPSS session.<br />

• While an OMS command is in effect, the specified destination files are stored in memory<br />

(RAM); so active OMS commands that write a large amount of output to external files<br />

may consume a large amount of memory.<br />

• Multiple OMS commands are independent of each other (except as noted below). The<br />

same output can be routed to different locations in different formats based on the specifications<br />

in different OMS commands.<br />

• Display of output objects in the Viewer is determined by the most recent OMS command<br />

that includes the particular output type. For example, if an OMS command includes all ta-

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

Saved successfully!

Ooh no, something went wrong!