batch script in SPSS17

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

batch script in SPSS17

a2mlab
Hi
I want to start a spss syntax automatically with a dos command. I know that this worked earlier with the runsyntx command which seems not to exist anymore now. Can anybody tell me how to start a spss syntax automatically without having to invoke SPSS manually in SPSS17
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: batch script in SPSS17

SPSS Support
Here's a resolution from our knowledgebase that gives the current way to run a job from a commmand line.

David Nichols



We have Resolution 75257 on file for this issue.

Problem Summary:
Where is runsyntx.exe in SPSS 16 and SPSS Statistics 17?

Problem Description:
I'm running SPSS 16.0 for Windows (or SPSS Statistics 17). In past versions, the SPSS install included an executable, runsyntx.exe, which would allow me to run syntax files from a command line or batch file. It used to reside in the main SPSS installation directory, but I cannot find this executable anymore. Was it removed or replaced?

Resolution Summary:
Please run your syntax from a Production Mode job or via command line using spss.exe.

Resolution Description:
The primary purpose of runsyntx.exe was to be able to right-click on a syntax file in Windows explorer and to have it launch SPSS and run it. While some users may have decided to use it as a part of production jobs, it was not the intended use for runsyntx.exe. In SPSS 16, users can use Production Mode or simply specify a syntax file on the command line.



Available Switches and Options for running spss.exe from a command line:

spss [-server ] [-user ] [-password ]

[-switchserver]

[-singleseat]

[-nologo]

[-production [silent|prompt]]

[-symbol ]

[] ...

[-help|-h]



Since SPSS Statistics 17, spss.exe was renamed to statistics.exe but you can still use the same command parameters as described above.


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of a2mlab
Sent: Wednesday, January 28, 2009 11:20 AM
To: [hidden email]
Subject: [SPSSX-L] batch script in SPSS17

Hi
I want to start a spss syntax automatically with a dos command. I know that this worked earlier with the runsyntx command which seems not to exist anymore now. Can anybody tell me how to start a spss syntax automatically without having to invoke SPSS manually in SPSS17 Thanks
--
View this message in context: http://www.nabble.com/batch-script-in-SPSS17-tp21710314p21710314.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

=====================
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
|

MDS Syntax

Caroline Davis
Hi all,

I would like to convert my card sort data to proximity matrices for MDS.  Data are currently in 51 (Ss) x 15 (var) matrix, with numbers representing the piles Ss placed the cards.  The number of piles is variable across subjects (range is 2 to 7 piles).  Looking for a way to compute an aggregate proximity matrix without using the script function (as I'm not able to access this function in our institution's version of SPSS 16.0).  Would I have to do this by computing individual subject proximity matrices and then adding them?  The resolution (Resolution 16651) provided on the SPSS Support website wasn't helpful in this case, as I'm not sure how to input the commands without the script function.

Your help is much appreciated!
Caroline

=====================
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: batch script in SPSS17

SPSS Support
In reply to this post by SPSS Support
Our apologies, this resolution is in error. Following these instructions will result only in launching SPSS and opening the syntax file. The resolution is being corrected. I'm told that the only way to launch a syntax file as a batch job from an SPSS client is to use a production job. Instructions for setting up production jobs are given in the SPSS Help.

David Nichols

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of SPSS Support
Sent: Wednesday, January 28, 2009 5:40 PM
To: [hidden email]
Subject: Re: [SPSSX-L] batch script in SPSS17

Here's a resolution from our knowledgebase that gives the current way to run a job from a commmand line.

David Nichols



We have Resolution 75257 on file for this issue.

Problem Summary:
Where is runsyntx.exe in SPSS 16 and SPSS Statistics 17?

Problem Description:
I'm running SPSS 16.0 for Windows (or SPSS Statistics 17). In past versions, the SPSS install included an executable, runsyntx.exe, which would allow me to run syntax files from a command line or batch file. It used to reside in the main SPSS installation directory, but I cannot find this executable anymore. Was it removed or replaced?

Resolution Summary:
Please run your syntax from a Production Mode job or via command line using spss.exe.

Resolution Description:
The primary purpose of runsyntx.exe was to be able to right-click on a syntax file in Windows explorer and to have it launch SPSS and run it. While some users may have decided to use it as a part of production jobs, it was not the intended use for runsyntx.exe. In SPSS 16, users can use Production Mode or simply specify a syntax file on the command line.



Available Switches and Options for running spss.exe from a command line:

spss [-server ] [-user ] [-password ]

[-switchserver]

[-singleseat]

[-nologo]

[-production [silent|prompt]]

[-symbol ]

[] ...

[-help|-h]



Since SPSS Statistics 17, spss.exe was renamed to statistics.exe but you can still use the same command parameters as described above.


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of a2mlab
Sent: Wednesday, January 28, 2009 11:20 AM
To: [hidden email]
Subject: [SPSSX-L] batch script in SPSS17

Hi
I want to start a spss syntax automatically with a dos command. I know that this worked earlier with the runsyntx command which seems not to exist anymore now. Can anybody tell me how to start a spss syntax automatically without having to invoke SPSS manually in SPSS17 Thanks
--
View this message in context: http://www.nabble.com/batch-script-in-SPSS17-tp21710314p21710314.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

=====================
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

=====================
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: batch script in SPSS17

Peck, Jon
Note, FWIW, that using Basic or Python scripts or Python programs, you can invoke SPSS v 16 or 17 and run jobs without going the production-mode route.

-Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of SPSS Support
Sent: Thursday, January 29, 2009 11:43 AM
To: [hidden email]
Subject: Re: [SPSSX-L] batch script in SPSS17

Our apologies, this resolution is in error. Following these instructions will result only in launching SPSS and opening the syntax file. The resolution is being corrected. I'm told that the only way to launch a syntax file as a batch job from an SPSS client is to use a production job. Instructions for setting up production jobs are given in the SPSS Help.

David Nichols

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of SPSS Support
Sent: Wednesday, January 28, 2009 5:40 PM
To: [hidden email]
Subject: Re: [SPSSX-L] batch script in SPSS17

Here's a resolution from our knowledgebase that gives the current way to run a job from a commmand line.

David Nichols



We have Resolution 75257 on file for this issue.

Problem Summary:
Where is runsyntx.exe in SPSS 16 and SPSS Statistics 17?

Problem Description:
I'm running SPSS 16.0 for Windows (or SPSS Statistics 17). In past versions, the SPSS install included an executable, runsyntx.exe, which would allow me to run syntax files from a command line or batch file. It used to reside in the main SPSS installation directory, but I cannot find this executable anymore. Was it removed or replaced?

Resolution Summary:
Please run your syntax from a Production Mode job or via command line using spss.exe.

Resolution Description:
The primary purpose of runsyntx.exe was to be able to right-click on a syntax file in Windows explorer and to have it launch SPSS and run it. While some users may have decided to use it as a part of production jobs, it was not the intended use for runsyntx.exe. In SPSS 16, users can use Production Mode or simply specify a syntax file on the command line.



Available Switches and Options for running spss.exe from a command line:

spss [-server ] [-user ] [-password ]

[-switchserver]

[-singleseat]

[-nologo]

[-production [silent|prompt]]

[-symbol ]

[] ...

[-help|-h]



Since SPSS Statistics 17, spss.exe was renamed to statistics.exe but you can still use the same command parameters as described above.


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of a2mlab
Sent: Wednesday, January 28, 2009 11:20 AM
To: [hidden email]
Subject: [SPSSX-L] batch script in SPSS17

Hi
I want to start a spss syntax automatically with a dos command. I know that this worked earlier with the runsyntx command which seems not to exist anymore now. Can anybody tell me how to start a spss syntax automatically without having to invoke SPSS manually in SPSS17 Thanks
--
View this message in context: http://www.nabble.com/batch-script-in-SPSS17-tp21710314p21710314.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

=====================
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

=====================
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

=====================
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