IBM Support

Save frequencies count as a variable

Question & Answer


Question

How can I save frequencies count as a variable in a .sav file?

Answer

This can be done via syntax. Example using the sample demo.sav file that comes when SPSS is installed.

Example Syntax:


DATASET DECLARE freqtbl.
OMS Select Tables
/IF SUBTYPES =['Frequencies']
/DESTINATION format = sav outfile=freqtbl.
freq vars= age.
OMSEND.

this will create a freqtbl data output which you can save as a .SAV file.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"22.0;23.0;24.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
IBM SPSS Statistics

Software version:
22.0, 23.0, 24.0

Operating system(s):
Windows

Document number:
554873

Modified date:
16 June 2018

UID

swg21992593

Manage My Notification Subscriptions