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.

SET 1485<br />

Journal Files. You can determine whether or not the program keeps a journal file during a<br />

session using the JOURNAL subcommand. A journal file records the commands that you have<br />

entered along with any error or warning messages generated by the commands. A modified<br />

journal file can be used as a command file in subsequent sessions.<br />

Macro Displays. You can control macro expansion, the maximum number of loop iterations,<br />

and nesting levels within a macro using the MEXPAND, MITERATE, and MNEST subcommands.<br />

You can also control the display of the variables, commands, and parameters that a<br />

macro uses using the MPRINT subcommands.<br />

Blanks and Undefined Input Data. You can specify the value that the program should use when<br />

it encounters a completely blank field for a numeric variable using the BLANKS subcommand.<br />

You can also turn off the warning message that the program issues when it encounters<br />

an invalid value for a numeric variable using UNDEFINED.<br />

Maximum Errors and Loops. You can raise or lower the default number of errors and warnings<br />

allowed in a session before processing stops using the MXERRS and MXWARNS subcommands.<br />

You can raise or lower the maximum number of iterations allowed for the LOOP—<br />

END LOOP structure using the MXLOOPS.<br />

Scratch File Compression. You can specify whether scratch files are kept in compressed or<br />

uncompressed form using the COMPRESSION subcommand.<br />

Custom Currency Formats. You can customize currency formats for your own applications using<br />

the CCA, CCB, CCC, CCD, and CCE subcommands. For example, you can display currency as<br />

French francs rather than American dollars.<br />

Cache File. The CACHE subcommand creates a complete copy of the active data file in temporary<br />

disk space after a specified number of changes in the active data file. Caching the active<br />

data file can improve performance.<br />

Basic Specification<br />

The basic specification is at least one subcommand.<br />

Subcommand Order<br />

Subcommands can be named in any order.<br />

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

• You can specify as many subcommands as needed. Subcommands must be separated by at<br />

least one space or slash.<br />

• Only one keyword or argument can be specified for each subcommand.<br />

• SET can be used more than once in the command sequence.<br />

• YES and ON are aliases for each other. NO and OFF are aliases for each other.

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

Saved successfully!

Ooh no, something went wrong!