Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> getting job number of queued job

getting job number of queued job

From: ParrisG <parrisg_at_aol.com>
Date: 1998/03/11
Message-ID: <19980311040000.XAA19037@ladder02.news.aol.com>#1/1

Is there a way for a procedure running in the job queue to obtain it's job number from the ORACLE environment, instead of having to pass it in as a parameter.

Using the dbms_job package, the job parameter must be part of the parameter list on the submit, e.g.

dbms_job.submit(job_number, p1(job),...);

Instead of passing the job parameter, can p1 figure out it's job number from some environmental call - NOTE - I could check in the user_jobs table but if there are more than one instances of P1, I'm stuck.

Could you e-mail me at ParrisG_at_aol.com

Thanks
Parris Received on Wed Mar 11 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US