PRESERVE.
SET CD '/mydata'.
GET FILE 'mydatafile.sav'.
SET TNUMBERS=BOTH.
FREQUENCIES VARIABLES=DIVISION
RESTORE.
FREQUENCIES VARIABLES=DIVISION.
-
PRESERVE
stores all current SET
specifications and
the current working directory setting.
SET CD
changes the working directory.
-
SET TNUMBERS=BOTH
changes the TNUMBERS
setting
to display both values and value labels in pivot tables.
- The pivot table results from the first
FREQUENCIES
command will display both category
values and labels.
-
RESTORE
reestablishes the SET
specifications and
the working directory that were in effect prior to when PRESERVE
was specified.
- The pivot table results from the second
FREQUENCIES
command will use the TNUMBERS
setting in effect prior to PRESERVE
(the default is to display only
labels).