run_job use_current_session = FALSE doesn't work does not work

I try to use run_job with the use_current_session set to FALSE. However, when doing so, the work doesn't seem to work. The logic below runs successfully when using use_current_session set to TRUE.

Issues related to the:
1 - is due to the fact that I am up the job at the end? If so, I'm not sure I understand the operation of the auto_drop when creating a job.
2. we are new to Oracle 11.2.0.2. Are there any special installation which must be completed before performing with the whole use_current_session false?


We use Oracle 11.2.0.2



v_job_name: = DBMS_SCHEDULER.generate_job_name ('BillToTax_');

DBMS_SCHEDULER. CREATE_JOB (job_name = > v_job_name,)
job_type = > 'EXECUTABLE. "
job_action = > ' / u01/appfiles /' | v_folder | ' / taxware.ksh',
credential_name = > "billit." | v_user,
activated = > FALSE,
number_of_arguments = > 2);

dbms_scheduler.set_job_argument_value (job_name = > v_job_name,)
argument_position = > 1,
argument_value = > a_file_name);

dbms_scheduler.set_job_argument_value (job_name = > v_job_name,)
argument_position = > 2,
argument_value = > a_file_invoice_id);

dbms_scheduler.run_job (job_name = > v_job_name use_current_session = > FALSE);

dbms_scheduler.drop_job (v_job_name);

Hello

2 things.

-Once finished the adjustment to the top of your work, you must call dbms_scheduler.enable to activate the work

-Once you have activated the job, his schedule is to work immediately in the background, so it runs in the background as soon as it is enabled and you don't need to call run_job here.

Hope this helps,
Ravi.

Tags: Database

Similar Questions

  • IPod displays "ok to disconnect message" but doesn't stop does not automatically or go to main menu / cannot load

    I recently connected my ipod on my car and the message display "do not disconnect". I accidentally unplugged ipod and when I reconnected it a new message "ok to disconnect". I never got my ipod to stop or go to the main menu. I tried to recharge and that no longer works. I've recently updated my ipod. I don't remember the last time that I've updated. I wonder if this has anything to do with this dysfunction. Is it possible that the battery is rechargeable more?

    Try doing a Reset (reboot) on the iPod (does not affect the data)

    Learn how to reset your iPod - Apple Support

  • Computer doesn't turn does not on

    Hello everyone, my name is Demetri and I can't turn on my computer. It's a HP G61 laptop computer 632NR PC running Windows 7 32 bit. I left my laptop at home, disconnected, and when I came home and plugged in to charge, I left it all night. I came back and when I pressed the power button, the power on the front of the computer light cell phone flashed 3 times, and the thing does not illuminate. The laptop does not power without battery. The power brick is fine, because the power led on the side of the laptop is turned on, indicating that energy flows into the laptop. I normally use this computer for editing and need a fix as soon as POSSIBLE. Please help a soon, thank you.

    Demetri Poulos

    Here are some troubleshooting tips.

    Computer does not start. (HP G61 632NR.)

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01443371&cc=us&DLC=en&lang=en&LC=en&product=4125799

  • Setting to false 'Title bar Visible' does not work

    Nobody seems to take me seriously, my comment here remained ignored...

    In fact, I have a complex UI (with several panels, including panels of the tab) that once loaded displays the title bar, even if the box is removed.

    Is there another setting that overrides this? I couldn't find any hint in the docs.

    CVI2013 f1

    Code:

    If (InitCVIRTE (0, argv, 0) == 0) return (-1) End Function
    SetSleepPolicy (VAL_SLEEP_SOME);
    LoadPanel ("notitlebar.uir", PANEL, & main_panel_handle);
    If (main_panel_handle< 0="" )="" return="" (="" -1="">
    DisplayPanel (main_panel_handle);
    RunUserInterface ();

    Hello Wolfgang,

    I managed to reproduce the problem, and it seems that the bug No. 433769 also covers this issue.

    Best regards and thanks for your comments,

    = Nelu F. | National Instruments.

  • Why doesn't firefox does not save my app tabs more?

    I have some updated app tabs. In the last few days whenever I close my browser and then reopen it, my app tabs are no longer there. Why isn't firefox remember my app tabs more? How can I fix? I need my app tabs! Thanks a lot for your help!

    You can check the settings in "clear history of Firefox closing:

    • Do not delete the "browsing history".

    It is also possible that there is a problem with the sessionstore.js and sessionstore.bak files in the Firefox profile folder.

    Delete the sessionstore.js file possible sessionstore-# .js files with a number and sessionstore.bak in the Firefox profile folder.

    Delete sessionstore.js will cause App Tabs and tab groups and opened and closed the tabs (back) to get lost, so you will need to create them again (take note or bookmarks).

  • Sansa Clip + doesn't turn does not on

    My Sansa Clip + 4 GB consume fresh, then off. but when I connected to the power supply for the load, it dosent turn on. I think there battery problem. So what should I do to load and put to work?

    He has this problem 2 years ago. but after 2 days, I connected to load sansa worked, but now it dosent work.

    Thank you all

    I got the answer

    I hold the power for 30 seconds and it worked.

  • application by calling another application doesn't use does not States

    I have a project and in the two applications.

    1 - I have a main application, and he got a button that calls my other app, which is in the same project.

    2. I do not want States, by mixing the code too.

    3. is there a way to create a call to another application is similar to what is done in PopUpManager?

    TKS

    Must the called component be an Application. If this isn't the case, you can create a cutom component (which extends from any other Flex Application except container) that contains everything that you need and instantiate in your initial request on the click of the button.

    If you must have an Application, you can create a separate project for the second request and compile it to a SWF file. You can then load this SWF of the SWFLOADER Flex control on click of the button.

  • (Redirected) Computer doesn't turn does not on

    I have an Aurora R2 and when I turn on the power it does if I unplug the power supply lead for 30 minutes. I have here a nattering when I try to turn on and then nothing usually happens after that.

    What is a power supply issue? Where can I go to replace? If this is the case.

    Better in this position in the Alienware owners Club Forum, here:

    http://en.community.Dell.com/Owners-Club/Alienware/default.aspx

    Bev.

  • The site doesn't load does not correctly on Ipad

    If you look at these two sites on your ipad

    http://www.algonquindream.ca/

    http://www.algonquindream.ca/home.html

    The second site load correctly, the first site is cut then you will have to scroll right to see all the when it loads. From what I can tell I have them designed the same. Anyone know why this is happening?

    Aparently if your page doesent scroll that the ipad will scroll to the right, making it the largest site will downword that the ipad wont let scroll to the right.

  • L50-B-2FN satellite: select the keys on the keyboard does not

    Hello

    I have a Satellite L50-B-2FN, bought just five months ago (February 2, 2016), and apart from a problem recurring with the lid doesn't close does not correctly, I now have a hardware problem: the keyboard stopped working fully, with most of the numbers keys does not respond as well as the letters R and Y.

    I checked the keyboard configuration and drivers via Device Manager and the computer tells me that everything is working properly and updated, but this is clearly not the case. I tried Toshiba's own online recommendations: uninstall the keyboard (http://support.toshiba.com/support/t...TYPE=COMPUTERS) and a restoration of the system to the last automatic (http://forums.toshiba.com/t5/System-...10/ta-p/657989), but neither solves the problem.

    What I understand online forums, like thi keyboard problems are a problem common _very_ Toshiba satellites, especially those running (or update of) Windows 10 (mine came with Windows already installed 10). He, however, seems to be a clear or coherent solution. Can anyone help? Apparently the warranty on this unit (serial number, part number) expired on December 1, 2015, so even if I only bought it from the store on 2 February 2016, he is not covered - otherwise I would request a replacement, especially since the problem with the lid doesn't close does not correctly too...

    Thanks in advance, Martyn

    Hi - suddenly a similar probs with Tosh laptop Satellite... 2, w, s, and c keys do nothing. Upgrade to Windows 10 about six weeks ago... any ideas please? /

  • HP elitebook 8560w: (error 90 b) cooling fan does not

    Hi all

    I have a problem with my cooling fan. Some time ago I got the error of 90 b, and after you open the laptop, I discovered the fan was not properly spinning (my warranty has already expired). I ordered a replacement radiator and a fan online, and yesterday I replaced the old. Unfortunately, I still have the error and the fan has not yet run. I have advanced and did some more research.

    I hooked old and new fans to a 5V DC source. Conclusion: the old fan indeed did not work, but the new fan DOES not work. Also I made the fan connector is connected correctly. This brings me to my question for you guys, what could be the cause of my fan doesn't turn does not correctly?

    In a few words all:

    -Fan doesn't spin

    -The fan which is the version currently operate when connected to an external 5V source

    -Fan is properly connected

    -The search for the cause of the problem and a way to fix (if all goes well, without having to buy a new motherboard)

    I hope someone can help me!

    Kind regards

    Mike

    Now I solved this problem myself. After much research I discovered that this error can be caused by several problems:

    -Something impedes the fan to run properly

    -The fan itself is broken

    -The motherboard fan connector is broken

    For me, the last of them was the case. I fixed that by disassemble the laptop and in rewiring the fan as it is powered by my disc drive. It is not a practical solution because my fan always runs at maximum power now, but it does the job.

    I hope that this post is useful to someone.

  • The home of the iphone 5 s screen button doesn't work does not correctly

    Home screen (middle button) does not work smoothly. Sometimes, it works very well and sometimes it doesn't. Someone might suggest it is a hardware or software problem that must do to solve this problem

    Hello

    Try a reboot press and hold the power button / stop and menu button hold both down until you see the apple logo.

    Also updated software iOS 10.1 over your WiFi

    See you soon

    Brian

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

  • Caps lock key doesn't work does not correctly. New computer.

    My shift key does not work correctly. Sometimes it works, sometimes it doesn't. I push on it is difficult to ensure that it works. But used in a standard keyboard, it is a problem because I don't bang the keys. I have to keep retype phrases due to errors that it creates.

    Its a shame because my computer is new. In fact, within a month, it is the second time I have to look at the service center. First time because the memory of my computer showed I consumed 40 GB without even having saved/downloaded a single file/document. The repair center did not have an answer and reformat the computer. This problem has been resolved.

    Was so much happier with my Dell computer. Nothing fancy, but no problem.

    I have the same problem. the button is enabled as soon as the second or even third. you don't want to, but you have to take it back in service. Maybe it's a factory default.

  • plugin. Disabled = false; does not work in firefox 30

    [CC["@Mozilla.org/plugin/Host;1"] I used to get plugins now I try to disable all plugin with plugin.disable = false that work very well in < FF29 but does not work in FF 29 & 30.

    Hello

    Finally found the solution.

    plugin.enabledState = 0

Maybe you are looking for