runbatch.exe command

Previous Next

The table below lists the command line options available for use with the runbatch.exe command.

Option

Purpose

-app name

Specifies the name of the application.

-database name

Specifies which database is to be used. This parameter is mandatory for SQL Server (OLEDB) and for ODBC, and optional for Oracle, but USoft recommends you specify this parameter also for each Oracle connection.

-ddfile

Reads the repository from flat files instead of from repository.

If you use this option, also use the -app option to specify the application to look for.

-ddowner name

Specifies that the application must be run on a repository owned by another user than the one under whose name you log in. To be used in combination with the -app option if you are NOT using the -ddfile option.

-exe "job(name

parameter=value... )"

Executes the specified job.

 

Example

 

-exe "job(EXP_PERSON,name=johnson)"

-logfile name

Specifies the full path name or the file name of the log file, if you do not want the default <jobname>HHMMSSLL.log file

Or specify a folder name, ending with the '\' character.

-odbc

Specifies that the application tables are in an ODBC enabled RDBMS.

-oledb

Specifies that connections are made via OLE DB; used by USoft to connect to Microsoft SQL Server.

-oracle

Specifies that the application tables are in the Oracle RDBMS.

-owner name

Specifies who the owner of the application tables is. You only need to use this, if another user owns the tables.

-password name

or:

-pw name

Specifies your RDBMS password. You only need to use this option if you want to log in automatically. Use this option in combination with -u (username).

-silent

Suppresses the display of error messages on Windows.

Some exceptional messages (such as fatal errors during startup or initialization) will always be reported by means of message boxes, even when this –silent option has been used.

-title "name"

Specifies the text displayed in the window's title bar. Note that this option may only be used on Windows platforms.

-u name

or:

-user name

Specifies your RDBMS username. You only need to use this option if you want to log in automatically. Use this option in combination with -pw (password).

-wlogfile

Specifies that an existing log file is to be overwritten by a new log file, instead of being appended with new logging information.