runbatch.exe

  • 3 August 2022
  • 0 replies
  • 55 views

Userlevel 2
Badge +1

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.

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.

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.

-odbc
Specifies that the application tables are in an ODBC enabled RDBMS.
-oledb
Specifies the MS SQL Server database platform.
-oracle
Specifies the Oracle database platform.
-owner name
Specifies 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 name
or:
-pw name
Specifies 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).
-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.
-user name
or:
-u name
Specifies 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.

 


0 replies

Be the first to reply!

Reply