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.

1122 OMS<br />

keyword must be followed by an equals sign (=) and a list of positional arguments enclosed<br />

in square brackets.<br />

• The general form of a positional argument is a letter indicating the default position of the<br />

element -- C for column, R for row, or L for layer -- followed by a positive integer indicating<br />

the default position within that dimension. For example, R1 would indicate the outermost<br />

row dimension element.<br />

• A letter indicating the default dimension followed by ALL indicates all elements in that<br />

dimension in their default order. For example, RALL would indicate all row dimension elements,<br />

and CALL by itself would be unnecessary since it would not alter the default arrangement<br />

of the table. ALL cannot be combined with positional sequence numbers in the<br />

same dimension.<br />

• SEQUENCE=[CALL RALL LALL] will put all dimension elements in the columns. With<br />

FORMAT=SAV, this will result in one case per table in the data file.<br />

Example<br />

OMS<br />

/SELECT TABLES<br />

/IF COMMANDS = [’Regression’] SUBTYPES = [’Coefficient Correlations’]<br />

/DESTINATION FORMAT = SAV OUTFILE = ’c:\mydir\myfile.sav’<br />

/COLUMNS SEQUENCE = [R1 R2].<br />

Figure 3 Positional arguments for dimension elements<br />

TAG Subcommand<br />

OMS commands remain in effect until the end of the session or until you explicitly end them<br />

with the OMSEND command, and you can have multiple OMS commands in effect at the same<br />

time. You can use the TAG subcommand to assign an ID value to each OMS command, which<br />

allows you to selectively end particular OMS commands with a corresponding TAG keyword<br />

on the OMSEND command. The ID values assigned on the TAG subcommand are also used<br />

to identify OMS commands in the log created by the OMSLOG command.<br />

Example<br />

OMS<br />

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

/TAG = ’oxmlout’.

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

Saved successfully!

Ooh no, something went wrong!