MAP Subcommand (GET command)

MAP displays a list of the variables in the active dataset and their corresponding names in the original data file.

  • The only specification is the keyword MAP. There are no additional specifications.
  • Multiple MAP subcommands are allowed. Each MAP subcommand maps the results of subcommands that precede it; results of subcommands that follow it are not mapped.

Example

GET FILE='/data/empl88.sav' 
 /RENAME=(AGE=AGE88) (JOBCAT=JOBCAT88)
 /KEEP=LNAME NAME JOBCAT88 ALL /MAP.
  • MAP is specified to confirm the new names for the variables AGE and JOBCAT and the order of variables in the active dataset (LNAME, NAME, and JOBCAT88, followed by all remaining variables in the data file).