Batch Execution


Command Line Interface

You can use the simstudio_batch program to run simulation models from a Microsoft Windows command prompt. The simstudio_batch routine accepts three command line arguments: -m, -e, and -d. The -m argument specifies the pathname for a Simulation Studio model you want to execute, and the -e argument specifies the experiment pathname. Both the -m and -e arguments are required. The optional -d argument specifies the pathname of the location where you want to save the contents of the Simulation Studio Experiment window.

To invoke Simulation Studio in batch mode, open a Microsoft Windows command prompt and naviage to the location of the executable simstudio_batch. (The current default installation location is \Program Files\SASHome\SASSimulationStudio\<release_number>.)

A sample command line for executing a model-experiment pair where INSTALL_DIR is the installation location looks like this:

C:\INSTALL_DIR> simstudio_batch -m projects\MyProject\MyModel.simmdl -e projects\MyProject\MyExperiment.simexp -d projects\MyProject\experiment.sas7bdat

Any data collected during the simulation execution is saved in a hierarchical results directory created in the directory where the simstudio_batch program was launched.