EXPORT

The EXPORT command is deprecated and will not be supported in future releases. The EXPORT command is not supported in Unicode mode.

EXPORT OUTFILE='file'

 [/TYPE={COMM**}] 
        {TAPE  }

 [/UNSELECTED=[{RETAIN}]
               {DELETE}

 [/KEEP={ALL**  }] [/DROP=varlist] 
        {varlist}

 [/RENAME=(old varnames=new varnames)...]

 [/MAP]

 [/DIGITS=n]

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the EXPORT command can be generated from the Save Data As dialog when selecting portable as the file type.

Example

EXPORT OUTFILE="/data/newdata.por" 
  /RENAME=(V1 TO V3=ID, SEX, AGE) /MAP.