Troubleshooting
Problem
I am using SPSS/PASW Statistics. Everytime I run my analysis, SPSS/Statistics opens a new dataset which I do not want and leaves it open. Is there a way to close this new dataset window through SPSS command syntax?
Resolving The Problem
Yes there is, for the most part. The DATASET CLOSE command will allow you to close the new unwanted windows. To activate this command open a syntax window type in the following line:
DATASET CLOSE *.
This will close the active file upon activation of another file during your session of SPSS. If you wish to repeat this rule on the next file, rerun the line above. The working dataset remains active but has no name.
Additionaly you may choose a particular file to be closed or multiple files.
To close a particular file such as MYFILE.sav, run the following line:
DATASET CLOSE myfile.sav.
If ALL is specified, all associations with datasets are broken. All the datasets except the working dataset and their data windows are closed.
SPSS Development has been notified in regards to adding an option to globally close datasets upon activation of another file
Related Information
Historical Number
61384
Was this topic helpful?
Document Information
Modified date:
16 April 2020
UID
swg21478047