That is true, I have figured it out. dbms_job will allow the asynchronous execution of procedures and dbms_pipe allows the communication between the processes to occur. It works. I'm doing it now. The jobs are being kicked off in groups of 10 and they are sending a message back to the calling program via pipes. Each job has it's own pipe, so the main program can keep track of who is done. Currently, I am waiting for all 10 to complete before starting the next 10, but I may work on a way to start the eleventh job when the first one finishes. I'm just glad that I got something to work.
Thank you for your help. [EMAIL PROTECTED] wrote: > DBMS_JOB will not solve the problem of > async communications. > > Jared > > "Khedr, Waleed" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 07/01/2002 12:23 PM > Please respond to ORACLE-L > > > To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> > cc: > Subject: RE: Asynchronous Procedure Calls > > You need dbms_job(s) > Also make sure you have enough background job processes to handle the > expected maximum number of concurrent procedure calls. > > Regards, > > Waleed > > -----Original Message----- > Sent: Monday, July 01, 2002 2:20 PM > To: Multiple recipients of list ORACLE-L > > Advanced Queuing will do what you need. > > There are examples at otn.oracle.com > > Jared > > Scott Canaan <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 06/28/2002 01:23 PM > Please respond to ORACLE-L > > > To: Multiple recipients of list ORACLE-L > <[EMAIL PROTECTED]> > cc: > Subject: Asynchronous Procedure Calls > > I have a need to call a procedure repeatedly and asynchronously. I > am using dbms_pipe for the communication between the calling procedure > and the called procedure and that seems to be working. What I want to > do is call the procedure multiple times, asynchronously, from the main > procedure. The problem is that Oracle waits for each call to complete > before continuing processing. Is there any way to do this in PL/SQL? > My environment is: Oracle 8.1.7.0.0, Sun Solaris 2.8. I need to do > this in PL/SQL because it has to run through Oracle Warehouse Builder. > > Thank you. > > -- > Scott Canaan ([EMAIL PROTECTED]) > (585) 475-7886 > "Life is like a sewer, what you get out of it depends on what you put > into it" - Tom Lehrer > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Scott Canaan > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Khedr, Waleed > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). -- Scott Canaan ([EMAIL PROTECTED]) (585) 475-7886 "Life is like a sewer, what you get out of it depends on what you put into it" - Tom Lehrer -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Scott Canaan INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
