MAP Subcommand (EXPORT command)
MAP
displays
any changes that have been specified by the RENAME
, DROP
, or KEEP
subcommands.
-
MAP
can be specified as often as desired. - Each
MAP
subcommand maps the results of subcommands that precede it; results of subcommands that follow it are not mapped. WhenMAP
is specified last, it also produces a description of the portable file.
Example
EXPORT OUTFILE=NEWSUM /DROP=DEPT TO DIVISION /MAP
/RENAME NAME=LNAME WAGE=SALARY /MAP.
- The first
MAP
subcommand produces a listing of the variables in the file afterDROP
has dropped the specified variables. -
RENAME
renames NAME and WAGE. - The second
MAP
subcommand shows the variables in the file after renaming. Since this is the last subcommand, the listing will show the variables as they are written in the portable file.