eva/3 Application BuilderDeveloping eva/3 ApplicationsExecuting Applications 

Command line parameters

Different command line parameters are accepted by an eva/3 application wich can be defined with the starting process.

Parameter Description Example Optional
-p <path> A relative or absolute path to the eva/3 project or the exported eva/3 jar file which contains the eva/3 project to be executed. The / or \ character can be used for path separation. -p ./sysvartest.jar No
-o <path> Defines the project relative path to the form, report or macro which should be executed. -o Makros/Start.macro No
-pr <print|preview> The -pr parameter allows to define if a report should opens in a preview window or is directly printed to the printer. The string print can be used as parameter argument for sending the report directly to the printer, or preview for displaying the report to the screen.

This parameter is optional. If this parameter is not set starting a report, the report preview mode will be used.

Hint: This parameter can only be used for starting a report.
-pr print Yes
-d <true|false> The -d parameter allows to control if a form opens in a SFrame or a SDialog. A SDialog have in contrast to the SFrame no application icon and won't be disaplyed in the windows task bar. If the parameter argument is set to true the form opens in a SDialog. false will opens a SFrame.

This parameter is optional. If this parameter is not set at startup, the form will be opened in a SFrame.

Hint: This parameter can only be used for starting a form.
-d true Yes
-m<number> <arg> Allowes to assign reference values to the start macro. The value defined with the <arg> will be assigned to the reference value of the macro parameter with the number defined with <nummer>. (See also Assigning reference values)

This parameter is optional.

Hint: This parameter can only be used for starting a macro.
-d true Yes
-V<name> <value> Allows to assign the value specified with the <value> argument to a eva/3 system variable. The value will be stored with the name specified with the <name> argument. eva/3 system variables can be used with SQL statements, expressions and own commands.

This. parameter is optional.
-d true Yes
-enablesqloutput The parameter -enablesqloutput activates the SQL output during application runtime. All SQL statements which are send to the database will be printed into the standard output. This is the console windows most time.

This parameter is optional.

Hint for Windows: The standard output is deactivated if the %JAVA_HOME%/bin/javaw.exe is used. Please use %JAVA_HOME%/bin/java.exe instead because the javaw.exe did not create any console output.
-d true Yes
-version Prints the version string for the used eva/3 runtime to the command line and terminates the application.

This parameter is optional.

Hint for Windows: The standard output is deactivated if the %JAVA_HOME%/bin/javaw.exe is used. Please use %JAVA_HOME%/bin/java.exe instead because the javaw.exe did not create any console output.
-version Yes