RUN_JOB v13
Use the RUN_JOB
procedure to execute a job immediately. The signature of the RUN_JOB
procedure is:
Parameters
job_name
job_name
specifies the name of the job that will execute.
use_current_session
By default, the job will execute in the current session. If specified, use_current_session
must be set to TRUE
; if use_current_session
is set to FALSE
, Advanced Server will return an error.
Example
The following call to RUN_JOB
executes a job named update_log
:
Passing a value of TRUE
as the second argument instructs the server to invoke the job in the current session.