Products | Versions |
---|---|
Spotfire Statistica | 13.3 and above |
Description: When Statistica needs to be launched from a command line or to incorporate them in scripting – the following switches are valid for the applications.
When the application is launched, command line arguments will be read. The parsing of these arguments will not be case sensitive. These command line arguments include:
/u: If “/u” is found followed by a space and an entry, the entry will designate the SE (Statistica Enterprise) user to login. This user must be a regular SE user (not NT authenticated). If no password is further defined, the login prompt will be shown with the user name predefined in the user field.
/c: If “/c” is found followed by a space and a quoted (double or single) entry, the entry will designate the SE ODBC connectivity information. This ODBC connectivity will override any previously defined ODBC connectivity. If the provided ODBC connection information is invalid, the ODBC Connectivity dialog will be displayed.
/runmacro: If “/runmacro” is found the entry will designate the SVB macro to be run when login is successful.
/close: If “/close” is found on the command line, it will login to SE, perform any of the other command line requested operations, and then shutdown. However, Statistica will remain open.
/invis: If “/invis” is found on the command line, it will login to SE, perform any of the other command line requested operations, and then shutdown. However, Statistica will remain open.
/i: If “/i” is found followed by a space and a quoted string, the entry will designate a filter file to be used when running the analysis or report.
/nologo: If “/nologo” is found, then the splash screen will not be displayed.
-statopts: Statistica will use the specified StatOpts.xml file.
"C:\Program Files\Statistica\Statistica 13\staemapp.exe" /r "STATISTICA Enterprise\Testing\BallBearings" /c "DSN=SEWSS;UID=sa;PWD=111111;" /u "admin" /w "abcdef".
Opens Statistica and runs the specified macro:
"C:\Program Files\StatSoft\STATISTICA\statist.exe" /u "admin" /w "abcdef" /runmacro=”C:\TestMacro.svb”.
C:\Program Files\StatSoft\STATISTICA\statist.exe" -statopts=”C:\StatOpts.xml”.
You can also specify the Statistica Enterprise configuration database in a shortcut as follows: