The SAVE command

To save the current dataset to a file named "Survey.sav", you would simply write:

SAVE OUTFILE="Survey.sav".
(.sav is the extension for SPSS data files, for this reason also called SAV files).
Additional options useful for data management tasks

The SPSS command corresponding to has a number of useful options for data management purposes .

SAVE OUTFILE='filename'
   [/KEEP=varlist] 
   [/DROP=varlist] 	  
   [/RENAME=(old.varlist=new.varlist)...]
   [/MAP]

The same options are available with the GET FILEcommand.

Some commented examples
Advanced options
SAVE OUTFILE='filename'
 [/UNSELECTED=[{RETAIN} ¦{DELETE} ]
 [/VERSION={3 ¦ 2}]
 [/PERMISSIONS {READONLY ¦ {WRITEABLE}}]
 [/{COMPRESSED ¦ {UNCOMPRESSED}}]
 [/NAMES]

See also

SPSS lets you also save to a large number of other file types: spreadsheets, other statistical software etc. With the dialog you simply select the type you want. If you would like to perform the same operation, with often additional options, see the SPSS manual and look up the SAVE TRANSLATE command.