Syntax to save an .SPO file

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

Syntax to save an .SPO file

Kathy Marshall
Hello Listers Extraordinaire,
 
Can anyone give me the correct syntax which would allow me to name the .SPO output file?
 
I know how to name the datafile (e.g., SAVE OUTFILE= 'I:\077\038\A04508\EDUCATION_PERFORMANCE\Education_Data\2008\Merge2008.sav')
 
But I would like to name the .SPO file that contains the statistical output within the syntax file too. 
 
Thank you in advance . . .

 
 
Kathy Marshall
CHP Human Resources Section (077)
Manager, Selection Research
PO Box 942898
Sacramento, CA  94298-0001
[hidden email]
(916) 375-2966
Reply | Threaded
Open this post in threaded view
|

Re: Syntax to save an .SPO file

Heidi Green

Hi Kathy-

Here are some of the OUTPUT commands that I have used. Perhaps they will help.

 

** If I want to create a new output file with a particular name.

OUTPUT NEW NAME=YourNameHere.

 

** If you want to toggle to a different output. (I sometimes create 2 outputs, one for checking commands and one for tables that I need to look at, and I use these statements in my syntax to switch the output files that SPSS writes to). Use this once you have created the output with the name you want.  

OUTPUT ACTIVATE YourNameHere2.

 

 

** To save your output (I’ve only done this with the .spv extension…not sure if it works with .spo??).

OUTPUT SAVE OUTFILE='I:\077\038\A04508\EDUCATION_PERFORMANCE\Education_Data\2008\Merge2008.spv’.

 

** To close your active output window.

OUTPUT CLOSE *.

 


From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Kathy Marshall
Sent: Thursday, June 25, 2009 9:23 AM
To: [hidden email]
Subject: Syntax to save an .SPO file

 

Hello Listers Extraordinaire,

 

Can anyone give me the correct syntax which would allow me to name the .SPO output file?

 

I know how to name the datafile (e.g., SAVE OUTFILE= 'I:\077\038\A04508\EDUCATION_PERFORMANCE\Education_Data\2008\Merge2008.sav')

 

But I would like to name the .SPO file that contains the statistical output within the syntax file too. 

 

Thank you in advance . . .


 

 

Kathy Marshall
CHP Human Resources Section (077)
Manager, Selection Research
PO Box 942898
Sacramento, CA  94298-0001
[hidden email]
(916) 375-2966



____________
DefenderMX2.
Reply | Threaded
Open this post in threaded view
|

Re: Syntax to save an .SPO file

Richard Ristow
At 01:39 PM 6/25/2009, Heidi Green wrote:

** If you want to toggle to a different output. (I sometimes create 2 outputs, one for checking commands and one for tables that I need to look at, and I use these statements in my syntax to switch the output files that SPSS writes to).

OUTPUT ACTIVATE YourNameHere2.

Hah! SAS's separation of printing into 'log' and 'listing', neatly simulated.
===================== 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