SAVE DATA COLLECTION

This command is available only on Windows operating systems.

SAVE DATA COLLECTION produces IBM® SPSS® Statistics data files and IBM SPSS Data Collection metadata files that you can use to read the IBM SPSS Statistics data file into IBM SPSS Data Collection applications such as mrTables and mrInterview.

SAVE DATA COLLECTION

  /OUTFILE='filespec'

  /METADATA='filespec'

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

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

 [/MAP]  

**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 SAVE DATA COLLECTION command can be generated from the Export to IBM SPSS Data Collection dialog box.

Release history

Release 15.0

  • Command introduced as SAVE DIMENSIONS.

Release 18.0

  • SAVE DIMENSIONS deprecated. Command name changed to SAVE DATA COLLECTION.

Example

SAVE DATA COLLECTION 
  /OUTFILE='/data/survey.sav'
  /METADATA='/data/survey.mdd'.