Date: Mon, 14 Nov 2011 10:00:54 -0800
Reply-To: "Parise, Carol A." <PariseC@sutterhealth.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Parise, Carol A." <PariseC@sutterhealth.org>
Subject: Re: v19 -opening files via windows explorer
Yes. I open my working data file in windows explorer, i then open up my working syntax file in windows explorer and a blank data file comes up with the syntax file. So i now have my working data file, working syntax file, and a blank data file open. If i close the blank data file, my working syntax file also closes. It is like the blank data file is linked to the 'untitled' blank data file.
From: Art Kendall [mailto:Art@DrKendall.org]
Sent: Monday, November 14, 2011 9:52 AM
To: Parise, Carol A.
Subject: Re: [SPSSX-L] v19 -opening files via windows explorer
If you have your working data file open, double click on your working syntax file,
does that mean
"If you have your working data file open, double click on your working syntax file in windows explorer,"
that the syntax is NOT YET a working syntax file?
or that you are clicking the file in windows explorer that is already a working syntax file to open a second copy?
Social Research Consultants
On 11/14/2011 12:19 PM, Parise, Carol A. wrote:
If you have your working data file open, double click on your working syntax file, a blank data file comes up. When you close that blank data file, does your working syntax file also close?
I can't close that empty data file without the working syntax file also closing.
From: John F Hall [email@example.com<mailto:firstname.lastname@example.org>]
Sent: Friday, November 11, 2011 9:31 PM
To: Parise, Carol A.; SPSSX-L@LISTSERV.UGA.EDU<mailto:SPSSX-L@LISTSERV.UGA.EDU>
Subject: RE: v19 -opening files via windows explorer
SPSS always needs an open working file, even if it's an empty one. I always open *.sav files by double-clicking them. This never opens a blank data editor, but (with very few exceptions) I invariably work in syntax in preference to the GUI and have SPSS set always to open a blank syntax file on startup. The working file then has a * before the data editor name. The advantage of this is that the data editor is subsequently always saved to the same folder as the original.
If I open SPSS by clicking on the shortcut icon and then click Cancel, I get a blank syntax file and a blank data editor, but I only ever do this in tutorials to demonstrate how SPSS works. The only exception would be if I was reading in raw data with DATA LIST or copying data from another source (eg Excel, or from a query on the list).
I've just followed your procedure and opened SPSS file by double-clicking an existing *.sps file: this opens a second, blank, syntax editor and a blank data editor. I then opened an existing *.sav file by double-clicking and closed the blank data editor. As you say, the blank syntax editor disappears, but I would never use SPSS like this anyway as I always start by double-clicking an existing *.sav file.
This isn't a problem since, if I want a new syntax editor, and provided I have an open data editor, all I have to do is click on File > New > Syntax in the GUI. If I modify the working file I always save it with a different name using File > Save as ..(quicker in GUI than syntax, and the SAVE OUT syntax is automatically created in the output viewer).
Does this answer your question?
John F Hall
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Parise, Carol A.
Sent: 12 November 2011 01:04
Subject: v19 -opening files via windows explorer
I'm old school and use Windows Explorer to open and close files.
When I open up a .sps file, a new, empty .sav file automatically opens up.
When i close the empty data file, the syntax file automatically closes.
I pull up the data file that i want to use and close the empty data file, the syntax file also closes.
The only way I can not have this empty data file open is to go through the SPSS menus to open up.
I've searched through every Edit-Options tab and have not found a way to "unlink" my syntax file to an empty data file.
Does anyone know how to accomplish this?
Sorry if this is so 2010.