Statistica Enterprise Command Line Options

Statistica Enterprise Command Line Options

book

Article ID: KB0080649

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.3 and above

Description

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.

 

Environment

Windows operating systems only.

Resolution

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.

/w: If “/w” is found followed by a space and an entry, the entry will designate the SE password to login. This password must be for a regular SE user (not NT authenticated). If no user name is further defined, the login prompt will be shown with the password predefined in the password 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.

 
/r: If “/r” is found followed by a space and a quoted (double or single) string or a number (not quoted), the entry will designate the SE Report or Analysis Configuration (formerly known as Monitor) to be run when login is successful.
  • If the report or analysis configuration information was invalid, a message will be displayed “Invalid Report specified” or “Invalid Analysis Configuration”
  • If the entry was a string, it will designate a SE Report or Analysis Configuration with the complete System View path.
  • If the entry was a number, it will designate a SE Report ID or Analysis Configuration ID.

/runmacro: If “/runmacro” is found the entry will designate the SVB macro to be run when login is successful. 

  • If the SVB information was invalid, a message will be displayed "Invalid SVB specified.'  

/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.

  • All messages regarding invalid command line information will not be displayed.
  • All messages regarding invalid command line information will be placed into the Statistica events.

/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.

 

 
Examples:

Opens Enterprise Manager with specified ODBC connectivity:

"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”.


Opens Statistica with a specified options file:

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:

staemapp.exe /C "DSN=SEWSS;UID=sa;PWD=password"
or
statist.exe /C "DSN=SEWSS;UID=sa;PWD=password"

 

Issue/Introduction

Statistica Enterprise Command Line Options