How can I locate a Scheduler job?

Hi there,
In the alert log, I see the following error :
ORA-12012: error on auto execute of job 2915
My question is - how do I find the definition for job 2915?
And before you say - "that's easy, it's in all_scheduler_jobs", it's
not in all_scheduler_jobs. The old dbms_job package had a column for
job number, but the Scheduler doesn't. I've scrutinized the definition for
all the Scheduler views, but nothing reveals the job number.
When I look at all the jobs listed in dba_scheduler_jobs, nothing seems
likely to be this mysterious job 2915.
Does anyone have any idea how I can locate it?
Thanks!
Paul Stuart

Hi,
Actually I've been meaning to write this info up as a DBA tip, but never get round to doing it...
The job number referred to is in fact the Object ID of the Job when dealing with a new Scheduler job and not an original DBMS_JOB job.
Scheduler jobs are database objects now rather than just 'rows in a table' so have an object ID, visible in dba_objects. But the dba_scheduler jobs view does not display this column!
See this example, I create a Job that refers to a non existant procedure. The object ID matches that put into the alert log when it fails only a second later:
SQL> declare
  2    jname varchar2(30) := 'JOB_TEST';
  3    jtype varchar2(16) := 'PLSQL_BLOCK'; -- 'PLSQL_BLOCK', 'STORED_PROCEDURE', 'EXECUTABLE'
  4    jaction varchar2(256) := 'not_a_real_proc;';
  5  begin
  6
  7    dbms_scheduler.create_job (
  8                  job_name        => jname,
  9                  job_type        => jtype,
10                  job_action      => jaction,
11                  start_date      => systimestamp,
12                  enabled         => TRUE,
13                  auto_drop       => FALSE,
14                  comments        => 'Test job can be dropped'
15                  );
16
17  end;
18  /
PL/SQL procedure successfully completed.
SQL> select object_id,  object_type,object_name
  2  from dba_objects
  3  where object_name = 'JOB_TEST' and object_type = 'JOB';
OBJECT_ID OBJECT_TYPE         OBJECT_NAME
     53645 JOB                 JOB_TEST
SQL> select job, error_date, error_line2 from dba_job_errors;
       JOB ERROR_DATE          ERROR_LINE2
     53646 04/09/2007 22:03:17 PLS-00201: identifier 'NOT_A_REAL_PROC' must be declaredHTH
Chris

Similar Messages

  • How can I see all scheduled jobs which have steps of a given user?

    Hello,
    I like to see all scheduled jobs which have steps of a given user. It is not importent which user has planned the job, I just want to check the usernames wich are used for accomplishing the respective step (-> field "AUTHCKNAM").
    In table " tbtcp" I can see the AUTHCKNAM for the jobsteps, but these table just contains the jobs which are in the state "finished/completed".
    In table "tbtcs" I can see the scheduled jobs, but there I can't see the AUTHCKNAM
    Do you know a table where I can see ALL Jobs or the scheduled ones and the AUTHCKNAM?
    Thanks for your help!
    Kind Regards
    Lisa

    Hi,
    thanks for your answers.
    I also tried the table "tbtco". There I can see all jobs, but there arent entrys in the column "AUTHCKNAM". Its empty....
    Maybe there is an other table?
    Kind Regards,
    Lisa

  • How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    Hello Fran,
    You can wrap the job chain in a master job chain in the first step and set the final status handler there.
    You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
    Regards Gerben

  • Help with : How Can I know the schedule for a JOB, and How Can I Change?

    Hi
       I have a job and I know the name...I review in table TBTCO and I saw that this jobs is schedule at 11:00 AM and at 4:00 PM, but I need to change the schedule for this job..and that this job will execute al least four times during the day...I don´t know how can I change the schedule??
        I was thinking that if I  run the transaction directly I can run, Im not sure, because I try to do in QAS environment... I when I try to run the program..the system doesn´t do anything..this mean I cant execute with F8, such as if I should be complete a parameter, but all the fields are completed.
         Thank you for your help, I promese that I will gice you points for your help.
    Alice

    Thank you at all.
    I was reviewing the options that you send me, but Im confused about... if its possible edit the schedule that this job has in this moment, because if I enter the transaction SM36 or try to see SM37..in production environment I can´t see this schedule...
    And Im not sure to do the correct steps to create something new... in QAS environment..I can´´t see this job.
    All of yours help are really important
    Thank you again!
    Alice

  • How to setup a daily schedule job that will run a PL/SQL procedures every night

    I have an update program that will need to run every night, can I setup a schedule job in data server?

    Hi Kane,
    You can try to use the package DBMS_JOB.
    In the package specification is a description how to use it. The parameter called INTERVAL can be used to start your job every night.
    Hope this helps...

  • I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    Welcome to the Apple Community.
    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • How can I locate my lost iPod Touch if my location was off and user ID was changed?

    I lost 3 Apple devices during house break in. How can I locate my lost Apple devices if my location was turn off,
    without "Find My Phone" apps and user ID was changed. The 3 devices are iPod Touch, iPad 2 and iPhone 3gs.
    I had made a Police Report and was told that I can request to get information to track my devices upon WIFI or
    internet connection. I hope "APPLE" team will help me to track my devices with IP locations, GPS, built in compass,
    or quickly send directions, updated informations and mobile data to find out and coordinates them.
    Given point will also help the police to capture them.
    Awaiting your reply.
    Thank you. Rgd,
    Sean Khor
    <Personal Information Edited by Host>

    There is no Apple here, just users like you and me. Apple does not provide nor have that information, as far as I know, but if police needs that information, they have a legal way of contacting Apple. If I were you I would avoid trusting Internet forum, assessable by anyone with your personal information.

  • How can I locate my iTunes library files. When I click on my itunes icon the message appears, "The file iTunes Library.itl." cannot be found because it was created by a newer version of iTunes."

    How can I locate my iTunes library files?  When I click on my iTunes icon rather than my iTunes files I receive, " The file iTunes Library.itl." cannot be read because it was created by a newer version of iTunes."  I have already tried to update my iTunes program.

    Had same problem and solved it without having to reinstore any music or movies:
    1. Delete old Library file
    2. Go to the 'Previous iTunes Libraries' folder and copy one of the earlier files - note, they have a date extension, e.g. 'iTunes Library 2011-11-01'.
    3. Paste this file in your iTuners folder and rename file by removing the date extension -  'iTunes Library'
    You should have all your music and paylists in tact, unless it was a really old previous file.

  • How can I share my schedule information with my wife on her accounts and devices?

    My wife and I have separate accounts in our MacMini and MacBook.  We each have an iPhone.  She uses GMail.  I use Mac Mail.  How can I share my schedule information with my wife on her accounts and devices?

    It is not advisable to follow the above suggested method. The following will do what you want without complications.
    1. On your Mac, go to http://help.apple.com/icloud/#mm6b1a9479 and follow the instructions to share a calendar privately. If you have more than one calendar you want to share you will have to do each individually. You can choose whether she is able to edit it or whether it should be read-only.
    2. If your wife does not have an iCloud account she will need to obtain one. When you share a calendar and nominate her to access it she will receive and email. All she has to do is to open the email and click 'Join Calendar'. This will add the calendar to her Calendar app on all devices and on icloud.com without affecting any other data. Again, this will have to be done individually if more than one calendar is involved.

  • My iphone 5 was just stolen and i dont have the find my phone app or any other tracking app installed previously. how can i locate my device?? please help

    my iphone 5 was just stolen and i dont have the find my phone app or any other tracking app installed previously. how can i locate my device?? please help

    If you didn't set up Find My iPhone in the iCloud settings, then you can't. Notify the police and change the password to your Apple ID and any other online services you used from that iPhone, just as a precaution.
    Regards.

  • How can I locate photos in PSE6 now that Bridge Home is discontinued?

    How can I locate photos in PSE6 now that Bridge Home is discontinued?  When dragging a photo from my Desktop to the PSE6 symbol in my Dock, PSE6 informs: "Could not complete your request because Photoshop does not recognize this type of file". Thus I am compelled to open this file with hundreds of photos on my Desktop, and here it's imposssible to find it because the thumbnails are so tiny.  Therefore much time is wasted in having to open them all one at a time in PSE6.  I did not have this problem with my Photoshop 7.

    Barbara,
    Your persistence in trying to find a solution has turned out beneficial!                                                                                                                                     It was in 2009, shortly after receiving my PSE6, that it informed me of Bridge Home now being discontinued.  So that was what compelled me into the tedious procedure described in my original thread.  Now, after having read your comment, I gave it a different try - I dragged a file with photos to the "BR". symbol in Dock, and to my surprise legible thumbnails opened in Bridge CS3 .
    The message saying that Bridge Home has been discontinued is no longer there, so my thought is that PS must have added to the program in the meantime.
    Thanks for your help.

  • How can i locate the resource file in the weblogic?

    hello
    in struts, i can leave some parameter in a resource file (such as "Application.properties")outside of my code,and get them in the "Action" class by the "getResource" method.
    in my data access tier,i still want to use such a machanism but i can't use the "getResource()" method,for example,there is a ConnectionPool class,i want to read some parameters from a resource file ("param.properties") that is under the same directory as the ConnectionPool class,the following is the code snippet:
    public static void init(DataSource ds){
    myself=new ConnectionPool(ds);
    java.util.Properties prop=new java.util.Properties();
    try{
    java.io.FileInputStream fin=new java.io.FileInputStream("./param.properties");
    prop.load(fin);
    }catch(Exception e){
    e.printStackTrace();
    System.out.println(prop.get("help.create"));
    the "ConnectionPool" class is in the "com.jhtop.task.forum.db.util" package,the "param.properties" is in the same package (com.jhtop.task.forum.db.util),
    but when i execute the program,it tell me that it can't find the file.if i use the absolute path,it works.
    i wonder how can i locate the file path in the weblogic,or what's my current path,or how may i setup my work directory?
    in tomcat,my current directory is bin directory,how about weblogic?
    who can help me?thank you!

    My english is bad and I'm not sure I've well understood your problem.
    How have you created your file ?
    Why do you put it in such a directory and not an other ?

  • I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    Exactly what do you mean by a 'downloader'?
    Thanks
    Pete

  • TS4006 My iPad was stolen and I have the "find my iPad" app installed on it. How can I locate it using another device ?

    My iPad was stolen how can I locate my serial number or my iPad? Need help please

    Stolen
    http://support.apple.com/kb/HT5668
    Erase iPad
    http://support.apple.com/kb/ph2701
    Lost Mode
    http://support.apple.com/kb/PH2700
    Reporting lost or stolen iPad
    http://support.apple.com/kb/HT2526

  • My iPad was stolen when I try to locate it it say device offline how can I locate my device it's offline

    My iPad was stolen when I try to locate it it say device offline how can I locate my device it's offline

    This thread is 2 years old. Try opening a new post.
    Cheers
    Pete

Maybe you are looking for

  • Report painter performance problem...

    I have a client which runs a report group consists of 14 reports... When we  run this program... It takes about 20 minutes to get results... I was assigned to optimize this report... This is what I've done so far (this is a SAP generated program)...

  • HELP ME Please ! No Blue Lights on both of my WRTU54G-TM Routers behind a WRT54GX2 Router

    I've had this configuration installed and working for the past two months as such: Motorola Cable Modem - COX Cable ISP - 15Mbps down / 5Mbps up ; actual rated is higher on speedtest.net Linksys Router - WRT54GX2 (I'll refer to this as main Router) L

  • No arrangements under display on system preference

    I have a mid 2012 macbook pro and there is no arrangements under my display on system preferences so I cannot connect a cord from my computer to the TV using HDMI cords.

  • MMC red alert

    Hi Experts, When i started SAP MMC  its starting with red alerts and i am not able to login to server. i have checked listener, saposcol, r3trans -d everything is working. trc file: "dev_disp", trc level: 1, release: "700" sysno      00 sid        HM

  • Posting Period Date Calculation

    Hi, I need to fetch the start date of a particular period from the start date of the preceding period (fetched from T009B). Are any function modules available for this? , Any logic avaliable..? Thnanks in advance, Jai Edited by: Jaikaran Korpal on Ap