Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run an SPSS syntax from command line?

paulus62

Programmer
Sep 6, 2024
1
0
1
Hi there,

I want to run an SPSS Syntax in command mode using IBM SPSS 29.
First I 'm using this commandline:
"path to SPSS executable" "path to syntax".
this works, but it only opens the syntax, it does not run it.
According to various internet sources, ChatGPT and the IBM SPSS 29 documentation the -f or the -syntax or the -rsyntx switch is required, so I tried both:
"path to SPSS executable" -f (or -syntax or rsyntx) "path to syntax".
However, I keep getting the error message: 'an unknown switch is specified on the commandline. Does anybody know how to fix this?
Any help will be greatly appreciated, thanks.
 

Part and Inventory Search

Sponsor

Back
Top