PL/SQL API jcs.last_job_id
Summary
Returns the ID of the last job that was submitted using jcs.submit or jcs.run.
Specification
function last_job_id()
return number
Transaction keyword
The transaction keyword defines how and/or when the changes are committed to the database. A definition of the various transaction keywords can be found on the jcs package summary page.
none
Examples
Using jcs.last_job_id
begin
jcs.submit('SCRIPT');
commit;
jcs_out.put_line('Script was submitted as job #' || jcs.last_job_id);
end;
Using jcs.last_job_id
See Also
plsqlTopic
onsiteTopic