is there a syntax command to close (or drop) an spss file (that has / or
no filename) ?
In the 1st example I want to close SPSS files that are not active (but
open). Some files have a filename, some don't. >>>Assuming that you are referring to data
files, take a look at the DATASET CLOSE command. You can refer to
dataset (not file) names or use DATASET CLOSE ALL.
In the 2nd example I would like to delete an existing spss file (with a
syntax command). Is there a command (as in PHP) like "delete file"
Couldn't find a solution in the syntax reference guide >>>Look up the ERASE command.
HTH, Jon Peck
(if there is no syntax command, maybe you know a solution with python?)
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command