Skip to main content
Version: 10.1

runbatch.exe

Starts the USoft processor that executes USoft jobs in order to run a named job.

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

OptionPurpose
-app nameSpecifies the name of the application.
-database nameSpecifies 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.

This corresponds to the "Separate Properties for Repository and Application" option of USoft Binder.

-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 jobnameHHMMSSLL.log file name.

You can also specify a folder name, ending with the '\' character.

-odbcSpecifies that the application tables are in an ODBC enabled RDBMS.
-oledbSpecifies the MS SQL Server database platform.
-oracleSpecifies the Oracle database platform.
-owner nameSpecifies the database user who is the owner of the application tables at RDBMS level.
You only need to use this option if this is a different database user from the user that you log on with (identified by -u or -user)..
-password nameor:-pw nameSpecifies the RDBMS password. You only need to use this option if you want to log in automatically. Use this option in combination with -u (username).
-silentSuppresses 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.
-user nameor:-u nameSpecifies the 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.