Date: Fri, 12 Jan 2007 12:13:57 -0500
Reply-To: Richard Ristow <wrristow@mindspring.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Richard Ristow <wrristow@mindspring.com>
Subject: Re: Can't Save File
In-Reply-To: <945D579F76FD5741A043511E6FE99B570DEA81FF@TLRUSMNEAGMBX32.E
RF.THOMSON.COM>
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 04:43 PM 1/10/2007, Jim Moffitt wrote:
>OK. Here's the syntax (edited slightly to obscure the subject of the
>data set).
>
> >SAVE OUTFILE='F:\Everything Else\File Three\Jim As Of
> 7.24.2006\James
>Fil
> > es\Projects (As of 5.08.2005)\Blah Blah Blah Survey\Data\Working
>Copies\1
> > .7 Output\Blah Blah-Final Clean
>(EricOriginal10.27.2006)WC3CutDwnBIVCrsC
> > hngs(11.20)Revise'+
> > 'dVIPsOnly.sav'
> > /COMPRESSED.
And here's the same, but reformatted:
SAVE OUTFILE='F:\Everything Else\File Three\Jim As Of 7.24.2006' +
'\James Files\Projects (As of 5.08.2005)' +
'\Blah Blah Blah Survey\Data\Working Copies' +
'\1.7 Output' +
'\Blah Blah-Final Clean(EricOriginal10.27.2006)' +
'WC3CutDwnBIVCrsChngs(11.20)RevisedVIPsOnly.sav'
/COMPRESSED.
>Here's the error message generated when I click on File > Save:
>
> >Error # 5333. Command name: SAVE
> >Unable to generate a temporary name to which to save the file.
> >This command not executed.
As Albert-jan Roskam suggested, I think this is a 256-character length
limit. I created a similar directory structure:
C:\Documents and Settings\Richard\My Documents\Temporary\SPSS
\2007-01-09 Moffitt - Can't Save File\Everything Else\File Three
\Jim As Of 7.24.2006\James Files\Projects (As of 5.08.2005)
\Blah Blah Blah Survey\Data\Working Copies\1.7 Output
That path is 238 characters long, including the "C:\" disk designator
and a final "\" to separate it from the file name.
In SPSS 14,
. I can save in that directory under name "Save-16chars.sav" (254
characters, fully qualified);
. "Save---18chars.sav" doesn't work, but doesn't give an error message;
. "Save-------22chars.sav" gives the error message "The above file name
is invalid".