MAP Subcommand (XSAVE command)
MAP
displays
a list of the variables in the data file and their corresponding names
in the active dataset.
- The only specification is keyword
MAP
. There are no additional specifications. - Multiple
MAP
subcommands are allowed. EachMAP
subcommand maps the results of subcommands that precede it, but not results of subcommands that follow it.
Example
GET FILE='/data/hubempl.sav'.
XSAVE OUTFILE='/data/empl88.sav'
/RENAME=(AGE=AGE88) (JOBCAT=JOBCAT88)
/KEEP=LNAME NAME JOBCAT88 ALL /MAP.
MEANS RAISE88 BY DEPT88.
-
MAP
is used to confirm the new names for AGE and JOBCAT and the order of variables in the empl88.sav file (LNAME, NAME, and JOBCAT88, followed by all remaining variables from the active dataset).