The below code actually runs and does what it is suppose to do. When it it
is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
Sean,
Try running the same procedure using "SAVE TRA" and see what happens. Most commands in SPSS can be run using just the first three letters of the command. I don't know which ones can't be shortened and usually don't do it myself, except for FREQ because I waste too much time correcting typos in FREQUENCIES...hey, I typed it correctly! King Douglas Sean McKenzie <[hidden email]> wrote: The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by Sean McKenzie
Sean -
My guess would be that SPSS only reads 'TRANS' in the Save Translate statement. Peter Link VA San Diego Healthcare System -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]]On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 11:49 AM To: [hidden email] Subject: Dyslexic SPSS... The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by Sean McKenzie
That it runs is not surprising. As explained recently by Jon Peck I believe, SPSS recognizes commands by their first 3-4 letters, so SAVE TRAN is recognized all right, whatever comes later.
But then getting the message back that SPSS is running the procedure with the typo included is indeed a bit surprising... The only apparent explanation would be that the SPSS message repeats the name of the command the way you wrote it, but this doesn't make much sense, does it? On occasion I have used abbreviated forms of commands, such as FREQ X Y Z, and the message is Running FREQUENCIES, not Running FREQ. Life is full of surprises, so why deny that virtue to SPSS after all? Hector ----- Mensaje original ----- De: Sean McKenzie <[hidden email]> Fecha: Jueves, Septiembre 21, 2006 3:48 pm Asunto: Dyslexic SPSS... > The below code actually runs and does what it is suppose to do. > When it it > is running the SPSS Processor says Running SAVE TRANSALTE. > > Of course it should be: SAVE TRANSLATE > > What is going on? > > > SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' > /REPLACE > /TYPE=XLS > /VERSION=8 > /FIELDNAMES > /KEEP= ALL. > EXECUTE. > |
In reply to this post by Sean McKenzie
I would assume that to allow for the typical spelling error that we are all
prone to SPSS will only check for sufficient characters to uniquely identify a command. A good example of this is you can use EXE. Instead of EXECUTE. !! Best wishes John S. Lemon -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 7:49 PM To: [hidden email] Subject: Dyslexic SPSS... The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by Hector Maletta
Thanks to you all, a bit of a laugh isn't it.
>From: <[hidden email]> >To: Sean McKenzie <[hidden email]> >CC: [hidden email] >Subject: Re: Dyslexic SPSS... >Date: Thu, 21 Sep 2006 16:03:49 -0300 > >That it runs is not surprising. As explained recently by Jon Peck I >believe, SPSS recognizes commands by their first 3-4 letters, so SAVE TRAN >is recognized all right, whatever comes later. > >But then getting the message back that SPSS is running the procedure with >the typo included is indeed a bit surprising... The only apparent >explanation would be that the SPSS message repeats the name of the command >the way you wrote it, but this doesn't make much sense, does it? On >occasion I have used abbreviated forms of commands, such as FREQ X Y Z, and >the message is Running FREQUENCIES, not Running FREQ. > >Life is full of surprises, so why deny that virtue to SPSS after all? > >Hector > > > > > >----- Mensaje original ----- >De: Sean McKenzie <[hidden email]> >Fecha: Jueves, Septiembre 21, 2006 3:48 pm >Asunto: Dyslexic SPSS... > > > The below code actually runs and does what it is suppose to do. > > When it it > > is running the SPSS Processor says Running SAVE TRANSALTE. > > > > Of course it should be: SAVE TRANSLATE > > > > What is going on? > > > > > > SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' > > /REPLACE > > /TYPE=XLS > > /VERSION=8 > > /FIELDNAMES > > /KEEP= ALL. > > EXECUTE. > > > |
In reply to this post by Sean McKenzie
I think someone has already pointed out that most commands execute with
only the first four letters correctly spelled out! Mike -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 2:49 PM To: [hidden email] Subject: Dyslexic SPSS... The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by peter link
If you wrote the command as SAVE TRANSATLANTIC the status bar would say "Running SAVE TRANSATLANTIC" but it would really be running the Save Translate command. For many older SPSS commands, you only need the first three or more letters of each word in the command name necessary to uniquely identify the command. In this case, SAV TRA will also work, and the status bar echoes the command name as you specified it.
Be careful with abbreviations. They don't work with many newer commands. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of peter link Sent: Thursday, September 21, 2006 2:02 PM To: [hidden email] Subject: Re: Dyslexic SPSS... Sean - My guess would be that SPSS only reads 'TRANS' in the Save Translate statement. Peter Link VA San Diego Healthcare System -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]]On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 11:49 AM To: [hidden email] Subject: Dyslexic SPSS... The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by Sean McKenzie
Several people have remarked that abbreviations work. But the really intriguing bit is that according to Sean McKenzie "When it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE."
This means that the message in the status bar reproduced the syntax typo. If this is true, and not another typo, I confess to be baffled as I said in a previous message in this thread. I am also surprised nobody has as yet addressed this, the only intriguing side of the question. Hector > > Sean McKenzie <[hidden email]> wrote: > The below code actually runs and does what it is suppose to do. > When it it > is running the SPSS Processor says Running SAVE TRANSALTE. > > Of course it should be: SAVE TRANSLATE > > What is going on? > > > SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' > /REPLACE > /TYPE=XLS > /VERSION=8 > /FIELDNAMES > /KEEP= ALL. > EXECUTE. > |
Ran it again and was watching carefully. That's what it's doing all right:
SAVE TRANSALTE >From: Hector Maletta <[hidden email]> >Reply-To: [hidden email] >To: [hidden email] >Subject: Re: Dyslexic SPSS... >Date: Thu, 21 Sep 2006 16:40:19 -0300 > >Several people have remarked that abbreviations work. But the really >intriguing bit is that according to Sean McKenzie "When it is running the >SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE >TRANSLATE." > >This means that the message in the status bar reproduced the syntax typo. >If this is true, and not another typo, I confess to be baffled as I said in >a previous message in this thread. I am also surprised nobody has as yet >addressed this, the only intriguing side of the question. > >Hector > > > > > > > > Sean McKenzie <[hidden email]> wrote: > > The below code actually runs and does what it is suppose to do. > > When it it > > is running the SPSS Processor says Running SAVE TRANSALTE. > > > > Of course it should be: SAVE TRANSLATE > > > > What is going on? > > > > > > SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' > > /REPLACE > > /TYPE=XLS > > /VERSION=8 > > /FIELDNAMES > > /KEEP= ALL. > > EXECUTE. > > |
In reply to this post by Oliver, Richard
I believe SPSS runs the smallest uniquely recognizable command. For instance, if one were to type in DIS, SPSS would not know if this were a DISPLAY or DISCRIMINANT command. On the other hand you could type FRE for FREQUENCIES or EXE for EXECUTE, since there are no other commands that start with those exact three letters, it runs. Also, it looks like whatever is being run in the status window, is the same as what it would show if you used SET PRINTBACK ON. Down to what case you typed the command in too!
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Oliver, Richard Sent: Thursday, September 21, 2006 2:22 PM To: [hidden email] Subject: Re: Dyslexic SPSS... If you wrote the command as SAVE TRANSATLANTIC the status bar would say "Running SAVE TRANSATLANTIC" but it would really be running the Save Translate command. For many older SPSS commands, you only need the first three or more letters of each word in the command name necessary to uniquely identify the command. In this case, SAV TRA will also work, and the status bar echoes the command name as you specified it. Be careful with abbreviations. They don't work with many newer commands. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of peter link Sent: Thursday, September 21, 2006 2:02 PM To: [hidden email] Subject: Re: Dyslexic SPSS... Sean - My guess would be that SPSS only reads 'TRANS' in the Save Translate statement. Peter Link VA San Diego Healthcare System -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]]On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 11:49 AM To: [hidden email] Subject: Dyslexic SPSS... The below code actually runs and does what it is suppose to do. When it it is running the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: SAVE TRANSLATE What is going on? SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' /REPLACE /TYPE=XLS /VERSION=8 /FIELDNAMES /KEEP= ALL. EXECUTE. |
In reply to this post by Sean McKenzie
Perhaps SPSS could look into having the program echo the actual command
that is running rather than the typed in command. Obviously we know that it is not "save transalte-ing" Problem is if the command is a problem, and code does not run how would the user recognize their problem ? My 2 cents mike -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Sean McKenzie Sent: Thursday, September 21, 2006 4:58 PM To: [hidden email] Subject: Re: Dyslexic SPSS... Ran it again and was watching carefully. That's what it's doing all right: SAVE TRANSALTE >From: Hector Maletta <[hidden email]> >Reply-To: [hidden email] >To: [hidden email] >Subject: Re: Dyslexic SPSS... >Date: Thu, 21 Sep 2006 16:40:19 -0300 > >Several people have remarked that abbreviations work. But the really >intriguing bit is that according to Sean McKenzie "When it is running >the SPSS Processor says Running SAVE TRANSALTE. Of course it should be: >SAVE TRANSLATE." > >This means that the message in the status bar reproduced the syntax typo. >If this is true, and not another typo, I confess to be baffled as I >said in a previous message in this thread. I am also surprised nobody >has as yet addressed this, the only intriguing side of the question. > >Hector > > > > > > > > Sean McKenzie <[hidden email]> wrote: > > The below code actually runs and does what it is suppose to do. > > When it it > > is running the SPSS Processor says Running SAVE TRANSALTE. > > > > Of course it should be: SAVE TRANSLATE > > > > What is going on? > > > > > > SAVE TRANSALTE /OUTFILE= 'h:\childcare\smckenzie\spss\outtest.xls' > > /REPLACE > > /TYPE=XLS > > /VERSION=8 > > /FIELDNAMES > > /KEEP= ALL. > > EXECUTE. > > |
In reply to this post by King Douglas
'FER', errr, I mean 'FRE' also works, just like 'FREQ'
and of course the typo-prone 'FREQUENCIES' ;-) Albert-Jan --- King Douglas <[hidden email]> wrote: > Sean, > > Try running the same procedure using "SAVE TRA" > and see what happens. Most commands in SPSS can be > run using just the first three letters of the > command. I don't know which ones can't be shortened > and usually don't do it myself, except for FREQ > because I waste too much time correcting typos in > FREQUENCIES...hey, I typed it correctly! > > King Douglas > > Sean McKenzie <[hidden email]> wrote: > The below code actually runs and does what it is > suppose to do. When it it > is running the SPSS Processor says Running SAVE > TRANSALTE. > > Of course it should be: SAVE TRANSLATE > > What is going on? > > > SAVE TRANSALTE /OUTFILE= > 'h:\childcare\smckenzie\spss\outtest.xls' > /REPLACE > /TYPE=XLS > /VERSION=8 > /FIELDNAMES > /KEEP= ALL. > EXECUTE. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
Free forum by Nabble | Edit this page |