Professional Documents
Culture Documents
Compressed and Uncompressed Subcommands (SAVE Command)
Compressed and Uncompressed Subcommands (SAVE Command)
Compressed data files occupy less disk space than uncompressed data
files.
Compressed data files take longer to read than uncompressed data files.
The GET command, which reads PASW Statistics data files, does not need
to specify whether the files that it reads are compressed or uncompressed.
Overview (DEFINE-!ENDDEFINE
command)
DEFINE!ENDDEFINE defines a program macro, which can then be used
within a command sequence. A macro can be useful in several different
contexts. For example, it can be used to:
Data definition: DATA LIST, MISSING VALUES (but not VARIABLE LABELS or
VALUE LABELS)
Print and write commands: PRINT, PRINT EJECT, PRINT SPACE, and WRITE
New numeric variables have default print and write formats of F8.2 (or the
format specified on SET FORMAT).
RECODE AGE (MISSING=9) (18 THRU HI=1) (0 THRU 18=0) INTO VOTER.
The recoded AGE values are stored in target variable VOTER, leaving AGE
unchanged.
Value 18 and higher values are changed to value 1. Values between 0 and
18, but not including 18, are recoded to 0. If the specification 0 THRU 18
preceded the specification 18 THRU HI, value 18 would be recoded to 0.
DROP Do not include a new row when all MAKE variables are null. A potential
new row with null values for all of the variables created by MAKE
subcommands is excluded from the new data file. This is the default. With
this option, you may want to create a count variable to keep track of new
rows because cases in the original data file are not guaranteed to appear in
the new data file.
KEEP Include a new row when all MAKE variables are null. A potential new
row with null values for all of the variables created by the MAKE
subcommand is included in the new data. With this option, you may not need
a count variable to keep track of cases because each row in the original data
will result in a consistent number of rows in the new data file.