How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

How to start a job using DBMS_SCHEDULER depending on the result of other JOBS

For example I have two jobs A and B of EMPLOYMENT, I would like to start JOB B only when a JOB is complete, is an option like that?

Hello

Yes, you can create a channel with the Scheduler, see the documentation:

Creation and management of channels of employment

http://docs.Oracle.com/CD/E11882_01/server.112/e25494/scheduse.htm#ADMIN10021

Tags: Database

Similar Questions

  • How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    How to assign URLs dynamically using button/link on the page of peoplesoft? Please provide detailed instructions.

    1. define the URL, the Z_URL1 or the Z_URL2 definitions

    2. in the change of field button:

    If true Condition then

    ViewURL (URL. Z_URL1);

    On the other

    ViewURL (URL. Z_URL2);

    End - if

  • Since the update of AV adapter, MacBook doesn't recognize, or feeds the La Cie Porsche 2 TB disk I use since I bought the MacBook. Other Mac power and recognize this drive. What is going on?

    Since the update of AV adapter, MacBook doesn't recognize, or feeds the La Cie Porsche 2 TB disk I use since I bought the MacBook. Other Mac power and recognize this drive. What is going on?

    Did you see if the ideas presented in the response of this other thread can help?

    Multiport USB - C map update will not install

    A few usual ideas, reset SMC, the NVRAM reset, start in safe mode; VR;

    the kitchen sink; wash the cat... burning incense. I would try a variety of things!

  • How to start two events different loops depending on tab selection

    Hello

    I have a tab control with two tabs and various controls and indicators on the subject.

    In the background is a while loop that contains a structure of the event which reacts on the different button-"change value" - events.

    There is one "end"-button on the Panel that stops the loop. "."

    Now the question:

    How can I add a while loop second with a second structure of the event and depending on the selection tab that the corresponding loop should run.

    Because I would like the events of two separate tabs.

    I think that it s possible to wire the stop at the value tab loop but how do to restart the loop?

    Thx for the help

    Iliale wrote:

    Why is the event in the attachment execution?

    If I have the wiring on the right side of the DI_1:ValueSignaling property, then it still runs and can only be stopped by the Task Manager...

    THX

    Because every time you write for the value property and event signage is queued up.  This occurs even if the value has not changed.  You probably want to add a registry node or shift of feedback to ensure the follow-up of the State of the LED.  XOR the current value with the previous.  If the XOR is true, it means that the value has changed.  Only write in the property node when the value changes.

  • How can I make Firefox use another version of the installed Java runtime?

    For purposes of development, I have several versions of the Java runtime on my 64 bit Windows 7 computer. I try to keep the number of JDK and JRE installation to a minimum and I want Firefox to use JRE 1.7.0_21 (32 bit) because this happened with a version of JDK, I am forced to use another application.

    Firefox however use JRE 1.6.0_31 and is correctly reported as non-secure. It offers me the upgrade option, but I don't want to download and install a different JRE since I already said 1.7.0_21 installed JRE. I would prefer very just to be able to point Firefox so that JRE. I don't see an option to select a different JRE installed however.

    I tried to manually edit the file pluginreg.dat (I know, it says do not edit...) by changing the entries of JRE 1.6 and 1.7 of the JRE, but on reboot, my changes have been overwritten and was back at the old JRE. So I can't view some web sites (also company/internal) without having to change to any browsers.

    Please let me know how I can make Firefox use the already installed JRE 1.7.

    Firefox scans the registry to find the location of the plugins.
    If Firefox detects a plugin and not the other, then that means that the other Java plugin is not having a corresponding registry key.

    64-bit Windows:
    HKLM\Software\Wow6432Node\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX
    32-bit Windows:
    HKLM\Software\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX

  • How can smartphones blackBerry I use my Pearl without the scroll ball?

    When my Sidekick wheel would spoil, I was able to use the access keys or the shortcuts that allowed me to use my phone without having to depend on the scroll ball. This phone has the necessary capacity to do so?

    No, the trackball is required.  You can open the menu with the key and select items to menu with the first letter of the menu item and then hit enter, but you can not navigate to the screen without the trackball.

  • How it warns Oracle to use an index for the join of two tables...

    How to prevent the Oracle to use an index for the join of two tables to get a view online that is used in an update statement?

    O.K. I think I should explain what I mean:

    When you join two tables that have many entries sometimes there're better is not to use an index on the column that is used as a criterion to join.

    I have two tables: table A and table B.

    Table A has 4,000,000 entries and table B has 700,000 entries.

    I have a join of two tables with a numeric column as join criteria.

    There is an index on this column in A table.

    So I instead of
      where (A.col = B.col)
    I want to use
      where (A.col+0 = B.col)
    in order to avoid Oracle using the index.

    When I use the join in a select query, it works.

    But when I use the join as inline in an update statement I get the error ORA-01779.

    When I remove the '+ 0' the update statement works. (The column is unique in table B).

    Any ideas why this happens?

    Thank you very much in advance for any help.

    Hartmut cordially

    You plan to use a NO_INDEX hint as shown here: http://www.psoug.org/reference/hints.html

  • Update statement can be used depending on the result cache?

    Hi all

    I stumbled on an interesting question. UPDATE statement is used in the following function, even if the feature is created RESULT_CACHE. It seems illogical. I was wondering, is it possible?

    If so, why RESULT_CACHE is used?  Because it means "do not execute the function, look for the result of the hash table and return the results to the user ' if the UPDATE statement, so doesn't mean it should run for each call and use with RESULT_CACHE and UPDATE/DELETE/MERGE is illogical or wrong?

    Thanks for your help.

    FUNCTION to CREATE or REPLACE plch_get_data (FULL id_in)

    RETURN VARCHAR2

    RESULT_CACHE

    IS

    BEGIN

    Dbms_output.put_line ('run');

    UPDATE plch_data

    SET nm = UPPER (nm)

    WHERE id = id_in;

    COMMIT;

    RETURN "SUPERIOR."

    END;

    /

    Yes, it's the challenge of PL/SQL quiz - and the point of the quiz is only automatic relies on parsing by Oracle only supports arrays of account that is QUESTIONED.

    The tables that are affected by DML not a query as an update do not figure in automatic invalidation of a cache.

    I was hoping that the explanations given in the questionnaire itself would not lead to a thread - rather it would provide a pleasant and clear answer. So feel free to let me know if you think otherwise.

    As to why Oracle would let you include DML not a query inside a function of caching of result, well... I can easily accept that you shouldn't do this - in general. But I don't see that we should make it impossible. It would probably be a good candidate for an another PLW (PL/SQL warning), as in:

    "Non-requetes DML in a result caching function will not affect caching and can result in unexpected results."

  • How to call static pages using web.show_document on the application server

    Hi all.

    I'm using forms / reports 11 g Rel2.

    I´d like to call it a few static pages of forms using web.show_document and have the pages located on the same machine where the application server is running.

    I know it's more a problem of Oracle HTTP Server configuration, but I want to know if I can use one of the default virtual directories already defined on the installation process.

    Please recommend a virtual directory to use.

    Best regards, Luis... :))

    Sure. You can store the files anywhere you want. Of course, it is easy to create a new virtual directory. But if you want to use an existing one, the most obvious likely would be the virtual path of/forms/html that can be found here:

    INSTANCE_HOME\config\FormsComponent\forms\html

    The url to access it would look something like this:

    http://server:port/forms/HTML/myWebPage.htm

  • How to start a list of PDF files in the right order?

    Hi forum,

    I have a LC process where I want to assemble a dynamic number of PDF documents into a single PDF file. I use the following DDX to do this:

    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
      <PDF result="process:///process_data/@pdfOut">
        <PDF source="process:///process_data/docList" bookmarkTitle="_SourceTitle" />
      </PDF>
    </DDX>
    

    pdfOut-> document

    docList-list < document > >

    As I insert a list I guess the order of the subdocuments in the result is determined by the order of the source list. Unfortunately, this is not the case, the Assembly has a random order. When I inspect the right of the list before the invocation of the DDX, the order is fine.

    Any ideas why the order has disappeared?

    Thanks in advance,

    Sebastian

    OK, I got it working:

    The order is correct, if the list is delivered through the browser of entry documents:

    
      
        
      
      
    
    

    I still don't know why the order is lost if I put a process variable, then it must be treated as a bug.

    Sebastian

  • How to enable and disable a button depending on the value of a field

    Hello experts,

    I enable and disable a button depending on the value of a field.

    I did the following:

    in a trigger of on_new_form_instrance I put the following
    begin
         
    go_block('OE_HEADER');
    execute_query;
    IF :oe_header.status = 'BOOKED' THEN        
          SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_FALSE);
    else
         SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_TRUE);
    end if;
    
    
    end;
    the problem is that it works but does not change when my header_status value is changed.

    You have to put the same code in when-validate-item trigger of: oe_header.status...

    and I think that this code should be trigger after query

    IF: oe_header.status = 'RESERVED' THEN
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_FALSE);
    on the other
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_TRUE);
    end if;

  • How do fill you a text field based on the entries in other text fields?

    I would like to be able to have a text field that fills as 'Full' or 'Incomplete' based on the question if all required fields have been filled or not.

    For example, if the "First Name", "Last Name" and "City" text fields are not filled, the text of "the State of completion" field displays 'Incomplete' and once they are filled, the text of "the State of completion" field will turn into "Complete".

    How can I do this using javascript? I searched the web for a tutorial, but most of the results seems to be focused on the menu drop-down.

    Please point me in the right direction!

    Try the script below. I put this on the calculate for Field1 event

    If (FirstName.rawValue == null |) LastName.rawValue == null | City.rawValue == null) {}

    Field1.RawValue = "incomplete."

    }

    on the other

    Field1.RawValue = "complete."

  • JavaScript Confirm box depends on the results of query

    Hello

    I use Apex version 3.2.1 and I'm looking for a way to do the following, any help much appreciated:

    A javascript confirm will appear when the user sends a page if the result of a query returns something, the query should look like this...

    SELECT * FROM LINKEDPROJECTS
    WHERE ENV_ID =: P18_ENV_ID
    AND ID_COMP =: P18_COMP_ID
    AND DATE_FROM < = to_date (: P18_DATE_TO, 'DD-MON-YY')
    AND DATE_TO > = to_date (: P18_DATE_FROM, 'DD-MON-YY')

    If it returns no data page will present as usual, if it does not return the data from the confirmation box will appear, and the message will be also the result of a query-driven.

    If the message would be something like...

    Project (s) + "select the NAME OF PROJECTS WHERE ID IN (SELECT PROJ_ID FROM LINKEDPROJECTS WHERE ENV_ID =: P18_ENV_ID +)"
    + AND IDENTIFIANT_COMPOSANT =: P18_COMP_ID +.
    + AND DATE_FROM < = to_date(:P18_DATE_TO, 'DD-MON-YY') +.
    + AND DATE_TO > = to_date (: P18_DATE_FROM, ' MON-JJ-AA "") "+ have this environment for the dates you selected.  Do you want to continue with the reservation?

    By selecting Yes submits the page, select no hands it to the page.

    Had this work now, if it can help someone else out there that's what looked like my javascript in the end...

  • Just downloaded trial Photoshop CS6.  How to start when NEVER used this type of software EVER?

    Downloaded the trial CS6 Photoshop to see if it is suitable to buy our before the application.  Having NO experience with this type of software, how do you start?  Must be something simple that I'm missing.  Cannot find how to insert picture/photo/text, or even to handle for the desired effect.  Help, please.  I did it for as much as opening a new file WOO HOO.

    Hello and welcome!

    I would first take a look at this forum of the beginner FAQ. One of them is How to open a photo in Photoshop. There instructions step by step on the subject.

    To better discover Photoshop:

    AdobeTV has a great set of video tutorials called 'learning Photoshop' .

    For any question you might have, feel free to post here.

    Enjoy!

    -janelle

  • How do you find whats using a file prevents the deletion or movement?

    I have a virtual machine that crashed and was removed from the inventory.  Now we want to move the virtual machine to a different data, or the same download mydesktop, store but things to drive on these files fails with various errors. move or copy or download feature.  I need a way to know what use that so I can stop there access to these files.  How to achieve this?

    Thank you

    Don

    How you would get on... If you still experience the problem you can run the command via RCLI

    http://communities.VMware.com//thread/202976?TSTART=0

Maybe you are looking for