Can a spss script be run from a spss syntax file?

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

Can a spss script be run from a spss syntax file?

Jeff
I know you can run a syntax file from a script, but how about a
script from a syntax file.

...without python

Thanks

Jeff

=====================
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: Can a spss script be run from a spss syntax file?

Jon K Peck
See the SCRIPT command.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        Jeff <[hidden email]>
To:        [hidden email]
Date:        05/06/2015 08:09 PM
Subject:        [SPSSX-L] Can a spss script be run from a spss syntax file?
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I know you can run a syntax file from a script, but how about a
script from a syntax file.

...without python

Thanks

Jeff

=====================
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: Can a spss script be run from a spss syntax file?

Jeff
At 12:11 PM 7/05/2015, Jon K Peck wrote:
See the SCRIPT command.

Thanks. ...so intuitive that I overlooked this thinking that it couldn't be that easy.

===================== 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: Can a spss script be run from a spss syntax file?

David Marso
Administrator
You can also pass the script a parameter.
Within Script access using ScriptParameter(0) property .
The fact that there is only one is not so much a liability as you can parse a list into an array using Split.

Jeff wrote
At 12:11 PM 7/05/2015, Jon K Peck wrote:
See the SCRIPT
command.
Thanks. ...so intuitive that I overlooked this thinking that it couldn't
be that easy.


=====================
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
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"