Executing a Job from within a USoft Application

Previous Next

See Also

To allow a job to be executed from within a USoft application, a special method has been defined. Application developers can program this method into their applications so that it can be called from menu pages, dialog boxes, SQL scripts, buttons, and so on.

The syntax of this method is:

ActionStartJob(<job_name>[,<parameter=value,..][,<mode>])

mode

If set to

-quiet

then the job will execute without displaying any information messages or prompts. Error messages are always displayed: they are not affected by the -quiet parameter. If a log file has been specified, all the usual information is logged, irrespective of whether or not -quiet has been specified.

Flat file vs. Repository
By default, job definitions are read from the repository. If you want these job definitions to be read from flat file, you must specify so explicitly by selecting the Flat Files radio button Application properties sheet in USoft Binder.