Status of Procedures running in parallele

Hi All,
I want to know how to get status of a procedure running in parallel .
Package  is as follows :-
Package P
DECLARE
l_jobno NUMBER ;
  l_jobno2 NUMBER ;
   l_jobno3 NUMBER ;
Procedure X
dbms_job.submit( l_jobno, 'U;' );
  dbms_job.submit( l_jobno2, 'W;' );
  dbms_job.submit( l_jobno3, 'Y;' );
DBMS_JOB.RUN(l_jobno);
  DBMS_JOB.RUN(l_jobno2);
   DBMS_JOB.RUN(l_jobno3);
I want to know the status of all the procedures executing in parallel, so that i can launch another set of procedure.
Any Idea/Suggestion would be very helpful . Thanks in advance.

I want to know the status of all the procedures executing in parallel, so that i can launch another set of procedure.
Then you should be using DBMS_SCHEDULER which has the functionality that you need to 'chain' jobs together.
See 'Using Chains' in the DBA Guide
http://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse009.htm
A chain is a named series of tasks that are linked together for a combined objective. Chains are the means by which you can implement dependency based scheduling, in which jobs are started depending on the outcomes of one or more previous jobs.
To create and use a chain, you complete these tasks in order:
Task
See...
1. Create a chain object
Creating Chains
2. Define the steps in the chain
Defining Chain Steps
3. Add rules
Adding Rules to a Chain
4. Enable the chain
Enabling Chains
5. Create a job (the "chain job") that points to the chain
Creating Jobs for Chains
And 'Examples of Using the Scheduler' in the same doc
http://docs.oracle.com/cd/B28359_01/server.111/b28310/schedadmin006.htm

Similar Messages

  • ERROR - Status of posting run could not be read - TV

    Hi,
    I've a problem at PR05 transaction. When I select a down payment line I receve the message below:
         Status of posting run 0000054529 could not be read
         Message no. 56820
         Diagnosis
         The trip is assigned to a posting run (significant for transfer to accounting) for which the current accounting status could 
         not be read.
         System Response
         For security reasons, the system does not allow changing or canceling of trips with undefined accounting status.
         Procedure
         Try to repeat the action later or inform your system administrator.
    The FI Document was generated. I believe that something happend to SAP after PRRW generated the FI/CO Documents.
    The question is how can I Create a Travel Expense Report (TRIP) in order to clear the dow payment with this problem happening?
    PS: SAP ECC 6.0
    tks

    Answered my own question. After I thought I had tried everything, it occurred to me to Verify Disk. Doing so revealed a minor bitmap error. So, using my trusty install disk, I booted my machine to the disk and repaired it.
    After the repair, I started iTunes and was able to download my songs. Unfortunately, my original library file was permanently damaged, so I had to start with a clean one. However, if the worst thing to happen to me in all this is that I have to redefine my playlists, then I'm better off.
    I hope this thread helps someone in the future.

  • Multiple stored procedure run across clusters

    Hi there,
    Currently we are having a single Oracle 11g instance. All our stored procedures are run on this database either directly from within the database (DBMS_JOB) or called externally from front-end java web apps.
    The question is we now have to cater for scenarios where there will lot more avenues (other java apps) calling the stored procedure and we want to provision for such scenarios without impacting the performance or agreed upon throughput back to the calling application.
    One option I read was about clustering (RAC) and how this can be configured at the database level to transparently cater to a huge volume of stored procedure calls to the database without affecting (requiring changes on the calling entities). So the java front end apps will only refer to a single database but Oracle RAC configured for the database will handle the heavy load scenario in seamless and transparent fashion across the clusters
    We don't want to split the execution of one single stored procedure run into multiple process for performance we have that part covered with optimizing the queries of the stored procedure
    but we want to provision for a scenario where multiple apps can spawn calls to the stored procedures simultaneously and the database is efficient about handling these parallel stored procedure invocations and does not overwhelm under the pressure of large volume of stored procedure run causing degradation of stored procedure runtime/response time.
    Please provide your thoughts.

    If those stored procedures are making DML calls against more-or-less the same data, you will be introduce contention.
    In a single instance (non-RAC) contention is within the SGA (buffer_cache, shared_pool, latches, enqueues). If the application is not scalable within the single instance, you will likely make performance worse when running it in RAC.
    So, you must first evaluate how it works (or would work) in a single instance database -- find out if it scalable merely by adding hardware. If it is scalable but your current hardware is limited, you can consider RAC. If it is not scalable and you have serialisation or contention, performance would be worse in RAC.
    Hemant K Chitale

  • Multiple instances of the same VI running in parallel

    Hi,
    I have a timestamping subVI that looks at a counter channel and applies timestamps. I want to create multiple instances of this subVI (8 to be exact) and have them all run in parallel (looking at 8 different channels). Someone gave me the following advice:
    >>
    Also, in case you want to call multiple instances of the same SubVI, and you want these multiple instances to execute in parallel, you will have to set the SubVI to execute in reentrant mode. Do this by opening the SubVI and going to "Edit >> VI Properties >> Execution" and enable "Reentrant execution".
    <<
    I've tried this but only my second instance (I started simple with only 2 instances) seems to monitor its channel and pass data along to the queue. I've included my code below, I have two signal simulators which simulate singles coming in on channels 2 and 3. I'm using a PCQI 6602 counter/timer card.
    Any help would be greatly appreciated, thanks in advance,
    Chris
    Attachments:
    LabView App (June 28, 2005).zip ‏158 KB

    good news! Your reentrant VI is working and all three instances are running (as execution highlighting clearly shows). The problem is going to be an error that is occuring but you don't see because you are ignoring the error clusters internally in the timer. It looks like at one point it was set to quit if an error occurred. That still needs to be there.
    Always hookup error clusters...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    All,
    A very interesting NOTE to this thread. In order to try and get the "ignore permissions" box to show up in GET INFO (so I could execute Matt the Magician's solution to file sharing issues)-- I ran the terminal command for disabling ACLs on my internal HD / start up disk (as indicated in the linked thread to BDAqua's forum).
    Although I understand that this was useless for disabling permissions on the start up disk (as everyone here pointed out) and allowing me to see the "ignore permissions" check box - somehow it did seem to fix my file sharing problem...and that was the root problem I wanted solved in the first place! After doing the terminal command and a quick reboot, I went in and tested file sharing on the chosen directory and I can create new files or work from existing files in the directory, with both users being able to modify / and save from both machines and each machine sees the revisions and can build from them. Bottom line - I'm stoked and want to thank everyone for their help.
    The only other tweak I made was going over to my wife's machine and instead of using her log in / password, I just used my name and password to connect to my main machine that was sharing directories. Maybe that's what fixed the problem or the ACL disable but either way...I'm up and running the way I want to be.
    Hope this thread helps anyone else who has these file sharing / permissions issues with Leopard. Especially for anyone wanting to do such a simple file sharing set up between 2 computers. I wish I understood exactly which tweak fixed the problem, but at least it works the way I want now.
    So happy to be done w/this one!
    Thx everyone. Any additional input on what solved it is welcome, so my curiosity is quelled...
    TC

  • Open an opened PDF in OS X Preview with a Windows 7 Adobe reader or other  (running with Parallels Desktop)

    Hi guys,
    I just want a simple way to open a PDF that is already opened in OS X Preview with an application in my Windows 7 (running on Parallels 9).
    I think it's possible with "Services" menu, but how??
    I just want to do this with Word, Excel and Powerpoint files there are opened in Mac OS X and I want to open them in Parallels' Windows 7.
    I know you probably think "Why using a windows app????", I agree with you but my laser printer doesn't work with Mac OS X (I hate Develop ineo 164 ..).
    Can you help me please?
    Thank you
    Carmelo

    Mike,
    Thanks for the reply. Are you talking about 128-bit AES and the like? If that's the case, it changes depending on the type of file I choose (3.0 PDF is 40-bit RC4, 5.0 PDF is 128-bit RC4 and so forth).
    I don't see any other options for encoding available. Could you be more specific? Sorry. I'm a relatively new Adobe Pro user.
    Thanks again.

  • Can I run a parallel router to apple TV to watch the Amazon product?

    Can I run a parallel router to apple TV to watch the Amazon product?

    You can't watch Amazon content natively, if you have an IOS deivce you can use airplay.

  • Can DBA force queries to run in parallel without modifying sql's queries

    Hi,
    We have a latest SUN SPARC server and storage available with Oracle database 11.2.0.3.While running our application on this database we found that only 1 cpu is being utilized out of 16 physical CPU's.
    Even in our End of day / month process total time taken is same as it takes on old server. We are not getting any benefits of latest more efficient server.
    Can't we force sql queries to run in parallel and make a most of available resources,without changing sql scripts.
    We want to do something from DBA side,can not bear sql scripting.
    Please suggest.
    Rgds,
    Praveen

    Praveen Saxena wrote:
    Hi,
    We have a latest SUN SPARC server and storage available with Oracle database 11.2.0.3.While running our application on this database we found that only 1 cpu is being utilized out of 16 physical CPU's.
    Even in our End of day / month process total time taken is same as it takes on old server. We are not getting any benefits of latest more efficient server.
    Can't we force sql queries to run in parallel and make a most of available resources,without changing sql scripts.
    We want to do something from DBA side,can not bear sql scripting.
    Please suggest.
    Rgds,
    PraveenWhat is the subject of this forum?
    What does this question have to do with ASM?

  • Procedure run order in a Package

    Are procedures run in a specific order in a package? If so, what determines that order? Thanks!

    A package is an object which contains functions , procedures and cursor declarations.The execution order depends upon which object is called on what order. By order of execution did you mean Triggers definde on a table?
    Thanks

  • Hello  I have an I mac with Yosemite operating system.  I installed a windows seven 64 bit on it. also i have a parallels desk top with version 10. if i run my windows  without parallels my windows and my office is activated ,but if i run my parallel

    Hello
    I have an I mac with Yosemite operating system.
    I installed a windows seven 64 bit on it.
    also i have a parallels desk top with version 10.
    if i run my windows  without parallels my windows and my office is activated ,but if i run my parallels then my windows and my office can not be activated .
    My problem is activating my windows and office through parallels desktop .
    i had installed windows an parallel desktop several times ,also i installed several times parallel tools with menu bar in parallels desk top and when i am installing parallels desktop tools in any way i can see the (CTRL+ALT )
    all of my application in windows works properly through parallels desktop except 
    activation of office and windows .
    I do not no any solution for my problem , i need for helps .thanks 

    It is not W10, it is the Technical Preview version of W10.
    Search on the Windows forums (fora for the latinist) for activation in the TP W10.

  • How many HACR can run in parallel in SAP BW 3.5 and 7.X?

    Hi Experts,
    I have a question that How many HACR/attribute change run can run in parallel in SAP BW 3.5 and 7.X?
    I know in SAP BW 3.5 only one ACR job can run and if we start any will be failed due to lock issues. On other hand, I also noticed in SAP BW 7.3, there are more than one HACR job running in parallel without lock issue.
    Does anybody know the reason behind this? how many ACR job we can run in parallel and precautions to be taken care everything.
    Please share your thoughts and lets understanding the ACR in detail..
    Thank you.
    Bharath S

    Hi Bharath,
    I' am not sure but I' am sharing what I think
    New version is always some betterment of old version. Time changes, advancements in technology, performance improves.
    However, I want to ask "Can we run two HACs at a time which use same info object in 7.X ?"
    Regards
    Nikhil Guda

  • Jobs running in parallel

    Hi every body
    I have scheduled a job to be executed every 5 minutes.
    The problem is that when the job is delayed two instances of the jobs are running in parallel and I want to avoid this, only one instance of the job can be running.
    How can I do that??
    Regards

    There is a couple ways to handle this.  One is to use a lock object for the program.  You can put this code in the start of the program, and any time it is executed it will perform a ENQUEUE, which places a lock on this program.  Then if it is executed again while running, the program will simply end without doing any further processing.
    DATA: lv_repid TYPE sy-repid.
    lv_repid = sy-repid.
    * Create program lock
    CALL FUNCTION 'ENQUEUE_E_DSVAS_TRDIR'
      EXPORTING
    *   MODE_TRDIR           = 'X'
        name                 = lv_repid
    *   X_NAME               = ' '
    *   _SCOPE               = '2'
    *   _WAIT                = ' '
    *   _COLLECT             = ' '
    EXCEPTIONS
       foreign_lock         = 1
       system_failure       = 2
       OTHERS               = 3.
    * If lock could not be achieved, means program is already running,
    * so leave program now.
    IF sy-subrc <> 0.
      LEAVE PROGRAM.
    ENDIF.
    * Do normal program processsing here.
    * Now release the lock.
    CALL FUNCTION 'DEQUEUE_E_DSVAS_TRDIR'
    EXPORTING
    *   MODE_TRDIR       = 'X'
        name             = lv_repid.
    *   X_NAME           = ' '
    *   _SCOPE           = '3'
    *   _SYNCHRON        = ' '
    *   _COLLECT         = ' '
    Regards,
    Rich Heilman

  • Subscriber PL/SQL procedure runs as SYS instead of user

    I am trying to figure out why the PL/SQL procedures ran via the AQ subscription are running as user SYS instead of the user that created the subscriber and registered the procedure. Following is the script I used to add the subscriber and register the procedure. All this happens under user SCOTT. The creation of the queues happened under SCOTT as well. The enqueing of the message happens via a procedure in SCOTT, initiated by SCOTT. Scott also has
    GRANT execute ON dbms_aq to SCOTT;
    GRANT execute on dbms_aqadm to SCOTT;
    --ADD SUBSCRIBERS AND REGISTER THE QUEUES
    begin
    dbms_aqadm.add_subscriber
    (queue_name => 'in_drv_queue',
    subscriber => sys.aq$_agent('XML_drv', null, null),
    rule => 'tab.user_data.queue_type = ''XML''' );
    dbms_aqadm.add_subscriber
    (queue_name => 'in_drv_queue',
    subscriber => sys.aq$_agent('nonXML_drv', null, null),
    rule => 'tab.user_data.queue_type = ''NON XML''' );
    end;
    begin
    dbms_aq.register
    (sys.aq$_reg_info_list
    (sys.aq$_reg_info('in_drv_queue:XML_drv',
    DBMS_AQ.NAMESPACE_AQ,
    'plsql://scott.dequeue_xml',
    HEXTORAW('FF')) ),
    1);
    dbms_aq.register
    (sys.aq$_reg_info_list
    (sys.aq$_reg_info('in_drv_queue:nonXML_drv',
    DBMS_AQ.NAMESPACE_AQ,
    'plsql://scott.dequeue_nonxml',
    HEXTORAW('FF')) ),
    1);
    commit;
    end;
    Can anyone provide any suggestions as to why the two dequeue_ procedures run as SYS instead of SCOTT? I'm not sure what I am missing from the various examples I have read.
    Thanks
    Jason

    I'm not familiar with the Audit Trail you refer to, but the following is one possible option to know what user the session is "running as"
    SQL> select sys_context('userenv','client_info') from dual;
    SYS_CONTEXT('USERENV','CLIENT_
    SQL>
    SQL> begin
      2     dbms_application_info.set_client_info('Testing');
      3  end;
      4  /
    PL/SQL procedure successfully completed
    SQL> select sys_context('userenv','client_info') from dual;
    SYS_CONTEXT('USERENV','CLIENT_
    Testing

  • I have an iMac running with Parallels.  Last year, my System Updates from Apple started popping up on PC side and I cannot find a way to link them back to the Apple side of machine. Cannot update iTunes to latest version where I use it.

    I have an iMac running with Parallels.  Last year, my System Updates from Apple started popping up on PC side and I cannot find a way to link them back to the Apple side of machine. Cannot update iTunes to latest version where I use it.

    Hello, do you mean the files end up on the PC side, or the notifications?
    On the Mac side try this...
    http://www.apple.com/itunes/download/

  • RZ20 MTE brbackup status: Last brbackup run

    Hello.
    I implemented alert on "brbackup status: Last brbackup run".
    It happens that when the backup starts, it generates an yellow alert and an email, because I configure an email autoreaction method.
    Is there a way to bypass the alert on a specific time interval ?
    Or is there a different way to solve my problem?
    I prefere that the alert would be generated on backup error , not warning, but it isn't possible to set the threshold for this alert.
    Could you help me?
    Thanks.
    Mario

    The only solution that I found:
    "Shift red to yellow and yellow to green "!
    so the alert is triggered only if the brbackup failed.
    But this could be a problem, if a brbackup doesn't finish, and it remains in started status, the alert is not generated.
    Now I ask : which is the report to check the alert ?
    If I found this, I could exclude, if possible , the job during the brbackup of the night.
    Thanks.
    Mario

Maybe you are looking for