MAP Subcommand (IMPORT command)
MAP displays a list of variables in the active dataset, showing all changes that have been specified on the RENAME, DROP, or KEEP subcommands.
- MAP can be specified as often as desired.
- MAP confirms only the changes specified on the subcommands that precede the MAP request.
- Results of subcommands that follow MAP are not mapped. When MAP is specified last, it also produces a description of the file.
Example
IMPORT FILE='/data/newsum.por'
/DROP=DEPT TO DIVISION /MAP
/RENAME NAME=LNAME WAGE=SALARY /MAP.
- The first MAP subcommand produces a listing of the variables in the file after DROP has dropped the specified variables.
- RENAME renames NAME and WAGE.
- The second MAP subcommand shows the variables in the file after renaming.