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.

1486 SET<br />

Operations<br />

Example<br />

• Settings specified on SET remain in effect until they are changed by another SET command<br />

or until the current session is ended.<br />

• Each time SET is used, only the specified settings are changed. All others remain at their<br />

previous settings or the default.<br />

SET BLANKS=0/UNDEFINED=NOWARN/TLOOK=’C:\SPSSWIN7\MYTABLE.TLO’.<br />

• BLANKS specifies 0 as the value that the program should use when it encounters a<br />

completely blank field for a numeric variable.<br />

• UNDEFINED=NOWARN suppresses the message that the program displays whenever<br />

anything other than a number or a blank is encountered as the value for a numeric variable.<br />

• TLOOK specifies that the table properties defined in c:\spsswin7\mytable.tlo will be used to<br />

define the default TableLook in the output. The default is NONE, which uses the TableLook<br />

provided as the system default.<br />

WORKSPACE and MXCELLS Subcommands<br />

WORKSPACE is used to allocate more memory for some procedures when you receive a<br />

message that the available memory has been used up or that only a given number of variables<br />

can be processed. MXCELLS is used to increase the maximum number of cells you can create<br />

for a new pivot table when you receive a warning that a pivot table cannot be created because<br />

it exceeds the maximum number of cells allowed by the available memory.<br />

• WORKSPACE allocates workspace memory in kilobytes for some procedures that allocate<br />

only one block of memory, such as Crosstabs or Frequencies. The default is 4096.<br />

• Do not increase either the workspace memory allocation unless the program issues a<br />

message that there is not enough memory to complete a procedure.<br />

• Use MXCELLS with caution. Set MXCELLS at a number higher than the limit indicated in<br />

the warning message you receive. Set the number back to the default after the table is<br />

created.<br />

• The memory allocation or cell maximum number increase takes effect as soon as you run<br />

the SET command.<br />

Note: The MXMEMORY subcommand is no longer supported.<br />

FORMAT Subcommand<br />

FORMAT specifies the default print and write formats for numeric variables. This default<br />

format applies to numeric variables defined on DATA LIST in freefield format and to all<br />

numeric variables created by transformation commands, unless a format is explicitly specified.<br />

• The specification must be a simple F format. The default is F8.2.

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

Saved successfully!

Ooh no, something went wrong!