Run .sps files from batch

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

Run .sps files from batch

MICHELLE WILSON
Hello,
 
I am new to spss.  I am using spss20. 
 
I have created several spss programs and would like to run them via a vbscript or from a Visual Studio 2012 application by having users click a button.
 
I have tried to use the .net plug in but it is not working for me.
 
I would greatly appreciate it if someone would provide a code sample or any suggestions on how I might go about doing this.
 
Thanks,
M. Wilson
Reply | Threaded
Open this post in threaded view
|

Re: Run .sps files from batch

Jon K Peck
I can't guess why the .NET plugin is not working for you.  If you have not looked at the sample .NET app called the Statistical Explorer, you might find it helpful.  It is in the .NET Collection on the SPSS Community site (www.ibm.com/developerworks/spssdevcentral).  It might be linked for a different version of Statistics than you are running, but you can rebuild it if interested or just look at the vb code.

Alternatively, you can use the COM libraries included with Statistics in your vb project.


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




From:        MICHELLE WILSON <[hidden email]>
To:        [hidden email],
Date:        03/19/2014 11:15 AM
Subject:        [SPSSX-L] Run .sps files from batch
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hello,

I am new to spss.  I am using spss20.  

I have created several spss programs and would like to run them via a vbscript or from a Visual Studio 2012 application by having users click a button.

I have tried to use the .net plug in but it is not working for me.

I would greatly appreciate it if someone would provide a code sample or any suggestions on how I might go about doing this.

Thanks,
M. Wilson