SPSS 15.0 Close File

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SPSS 15.0 Close File

Michael Krei=?ISO-8859-1?Q?=DFig?=
Hi Forum,

we've been forced to use SPSS 15.0 by our clinical computer department. Some
features are quite fine, but there's one which is very annoying when working
with syntax. Example: I have a file, let's say FILE.SAV. This file is
aggregated into FILEAGGR.SAV. I open it with GET and want to save it under
the name of the original file FILE.SAV. With the new version, I have to
close the original file manually, because it remains open. Even if I use
another name, I have two tables open which "irritates" the syntax from time
to time.

Is there a way to close a file by syntax, which I have not detected so far
or can this problem be solved in another way.

An answer would be greatly appreciated.

Michael
Reply | Threaded
Open this post in threaded view
|

Re: SPSS 15.0 Close File

Norton, John
Hi Michael,

I think the command you are looking for is DATASET CLOSE name.sav.

You may have to review your command file for other places where this command may be needed.

HTH,

John Norton
SPSS




-----Original Message-----
From: SPSSX(r) Discussion <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Tue May 22 03:57:23 2007
Subject:      SPSS 15.0 Close File

Hi Forum,

we've been forced to use SPSS 15.0 by our clinical computer department. Some
features are quite fine, but there's one which is very annoying when working
with syntax. Example: I have a file, let's say FILE.SAV. This file is
aggregated into FILEAGGR.SAV. I open it with GET and want to save it under
the name of the original file FILE.SAV. With the new version, I have to
close the original file manually, because it remains open. Even if I use
another name, I have two tables open which "irritates" the syntax from time
to time.

Is there a way to close a file by syntax, which I have not detected so far
or can this problem be solved in another way.

An answer would be greatly appreciated.

Michael
Reply | Threaded
Open this post in threaded view
|

Re: SPSS 15.0 Close File

Art Kendall-2
In reply to this post by Michael Krei=?ISO-8859-1?Q?=DFig?=
although DATASET CLOSE could be used for this, I would strong advise
against it.

1) you would lose your ability to go back and redo your analysis as you
develop your analysis conceptualization.

2) you would have the same filename referring to very different contents.



Art Kendall
Social Research Consultants

Michael Kreissig wrote:

> Hi Forum,
>
> we've been forced to use SPSS 15.0 by our clinical computer department. Some
> features are quite fine, but there's one which is very annoying when working
> with syntax. Example: I have a file, let's say FILE.SAV. This file is
> aggregated into FILEAGGR.SAV. I open it with GET and want to save it under
> the name of the original file FILE.SAV. With the new version, I have to
> close the original file manually, because it remains open. Even if I use
> another name, I have two tables open which "irritates" the syntax from time
> to time.
>
> Is there a way to close a file by syntax, which I have not detected so far
> or can this problem be solved in another way.
>
> An answer would be greatly appreciated.
>
> Michael
>
>
>