SPSSINC GETURI DATA

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

SPSSINC GETURI DATA

drfg2008
If I use the following syntax, everythings works fine, except of an error message that occurs. I don't quite understand the error (and how to stop it)

DATASET ACTIVATE DatenSet0.
SPSSINC GETURI DATA
URI="http://spss-seminar.de/tu-berlin.sav"
FILETYPE=SAV DATASET=frank
/OPTIONS
SHEETNUMBER=1 READNAMES=YES ASSUMEDSTRWIDTH=32767.


Error: Cannot set to original name.  File probably already exists.
        Opening under temporary name.  Original  name is
tu-berlin.sav
Dr. Frank Gaeth

Reply | Threaded
Open this post in threaded view
|

Re: SPSSINC GETURI DATA

Jon K Peck
This command works by retrieving the file and saving it under a temporary name.  It then tries to rename it with the original name.  If that fails, you get the message you are seeing.  The error occurs usually because there is already a file with the same name in that location.  This might happen if you retrieve the same file twice in a row.  It could also happen if the original file name is not legal on your particular OS (unlikely in this case).  But the error is harmless.  It just means that the file has a temporary name.  You can save it from Statistics in the usual way.  You probably don't want to leave it in the temporary directory anyway.


Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        drfg2008 <[hidden email]>
To:        [hidden email]
Date:        03/02/2011 11:57 PM
Subject:        [SPSSX-L] SPSSINC GETURI DATA
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




If I use the following syntax, everythings works fine, except of an error
message that occurs. I don't quite understand the error (and how to stop it)

DATASET ACTIVATE DatenSet0.
SPSSINC GETURI DATA
URI="
http://spss-seminar.de/tu-berlin.sav"
FILETYPE=SAV DATASET=frank
/OPTIONS
SHEETNUMBER=1 READNAMES=YES ASSUMEDSTRWIDTH=32767.


Error: Cannot set to original name.  File probably already exists.
       Opening under temporary name.  Original  name is
tu-berlin.sav

-----
FUB

--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/SPSSINC-GETURI-DATA-tp3407555p3407555.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
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
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

Reply | Threaded
Open this post in threaded view
|

Re: SPSSINC GETURI DATA

drfg2008
Thank you! (But the error is harmless. )
Dr. Frank Gaeth