PL/SQL API jcs_chain.job_add_call
Summary
- procedure job_add_call(job_id in number, step_name in varchar2, obj_name in varchar2, condition in varchar2) (Condition parameter unsupported. IMPORTANT!!! The call added to the step is not a real JobChainCall! E.g. job.isActualJobChainCall will return false. )
- function job_add_call(job_id in number, step_name in varchar2, obj_name in varchar2, condition in varchar2) return number (Condition parameter unsupported. IMPORTANT!!! The call added to the step is not a real JobChainCall! E.g. job.isActualJobChainCall will return false. )
Add a call to a step of a job chain that has already been submitted.
Prerequisites:
- Job status of the step is CHAINED or pre-QUEUED or FINAL
- The script for this job is a "chain" script
- The user has set up a proper context for submitting the new script
Examples
Using jcs_chain.job_add_call
jcs.clear_parameters(<script_name>);
jcs.parameter(<script_name>, <parameter>, <value>);
...
jcs_chain.job_add_call(<job_id>, <step_name>, <script_name>);
Using jcs_chain.job_add_call
plsqlTopic
onsiteTopic