Dbms_scheduler job finihed succesfull when underlying procedure fails

I have a job created with dbms_scheduler which finishes succesfully even when the underlying plsql procedure raises a oracle error.
Is there any way to stop the running job with a failure when the plsql procedure fails and show the oracle error in the all_scheduler_job_run_details.error# column?
Example:
procedure test is
begin raise no_data_found;
end;
dbms_scheduler.create_job(job_name =>'MY_JOB', 'test');
dbms_scheduler.run_job;
when querying all_scheduler_job_run_details I want to see the no_data_found error which occurs in procedure.

user4260036 wrote:
I have a job created with dbms_scheduler which finishes succesfully even when the underlying plsql procedure raises a oracle error.
Is there any way to stop the running job with a failure when the plsql procedure fails and show the oracle error in the all_scheduler_job_run_details.error# column?
what exactly does "stop the running job" mean?
when querying all_scheduler_job_run_details I want to see the no_data_found error which occurs in procedure.in which column do you expect/desire this information to reside?
SQL> desc all_scheduler_job_run_details
Name                            Null?    Type
LOG_ID                              NUMBER
LOG_DATE                             TIMESTAMP(6) WITH TIME ZONE
OWNER                                  VARCHAR2(30)
JOB_NAME                             VARCHAR2(65)
JOB_SUBNAME                             VARCHAR2(65)
STATUS                              VARCHAR2(30)
ERROR#                              NUMBER
REQ_START_DATE                         TIMESTAMP(6) WITH TIME ZONE
ACTUAL_START_DATE                        TIMESTAMP(6) WITH TIME ZONE
RUN_DURATION                             INTERVAL DAY(3) TO SECOND(0)
INSTANCE_ID                             NUMBER
SESSION_ID                             VARCHAR2(30)
SLAVE_PID                             VARCHAR2(30)
CPU_USED                             INTERVAL DAY(3) TO SECOND(2)
CREDENTIAL_OWNER                        VARCHAR2(65)
CREDENTIAL_NAME                        VARCHAR2(65)
DESTINATION_OWNER                        VARCHAR2(128)
DESTINATION                             VARCHAR2(128)
ADDITIONAL_INFO                        VARCHAR2(4000)

Similar Messages

  • Procedure doesn't work in a DBMS_SCHEDULER job

    I have a problem with an dbms_scheduler job.
    We have a procedure with a select and the follwing where clause
    and tb.geaendert_am >= systimestamp - interval '5' minute;
    The column tb.geaendert_am is a timestamp column and means changed_on.
    That procedure we call in a dbms_scheduler job, which runs every 5 minutes.
    What we want is to collect all rows which are new since last job run.
    Now happens following
    The job run and collect all rows, also row alter than 5 Minute.
    On every run the procedure collect all old and new rows.
    When we run the procedure manually, also the single select, we get the correct collection of all rows which are new since last job run.
    Have anyone a idea?
    I now the where clause is not perfect and we have some more inconsistency.
    (At the first run we don't get all rows which older than 5 minutes before systimestamp)
    In the moment we discuss if it make more since to mark the rows which we have collected.
    But that is not the question, the question is why a soure manually works well
    and when it runs in the Job we have a wrongness.
    Thanks in advanced.
    Regards
    Michael

    Hi Sven
    thanks for answering.
    I told you what is wrong ;-)
    My select with the where "systimestamp - interval '5' minute" clause runing well.Every time I get only new rows
    That select is implemented in a procedure. Starting the procedure from sqlplus or sqldeveloper, the select running well.I get only new rows.
    But when it would be started by dbms_scheduler we get everytime all rows, the old, also the new rows.
    When I start the Procedure shortly after the job or parallel to the job my select shows only the new rows which are not older than 5 Minutes
    Conclusion, when the procedure would be startet by the job we get to much rows.
    The difference is, one runs on the database server, one runs on an client.
    I have considered also to mark the data set with select for update. But I see following issues.
    1) The job is for an monitoring tool, that tool would be not discrete anymore.
    2) What happen in a case with an error, "for update of" lock only a new column which I add to mark the rows.
    Perhaps I get a impact in the application that it must not happen. The application is very time sensitive.
    3) What is with the transaction, my procedure must be anonymous.
    It is shure that we get no effect in application?
    Our java application communicate with a lot of other application, partly java aplication, partly Oracle BPEL applications.
    So our monitoring tool should not interrupt the sensitive chain.
    Regards,
    Michael
    Edited by: MichaelMerkel on 11.03.2011 02:15

  • Generating PDF Report and Mailing from APEX through DBMS_SCHEDULER job

    Hi,
    We have a requirement to generate pdf reports and mail them from our apex app through a DBMS_SCHEDULER job. The DBMS_SCHEDULER job calls a PL/SQL procedure which has the logic for calling the APEX_UTIL.GET_PRINT_DOCUMENT API (Function Signature 3) passing the application_id, the report_query_name and the report_layout_name  to generate the pdf report output. The APEX_UTIL.GET_PRINT_DOCUMENT call is returning NULL when called from the DBMS_SCHEDULER job (It doesn't throw any exception as well!). But the same procedure when called from an APEX App Page Process that is invoked on an event like a Button click, the API returns the PDF report output.
    I am also setting the APEX workspace security_group_id at the beginning of the PL/SQL procedure as follows:
    l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE');
    apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    Any idea on what might be going wrong? Any alternative ways to generate the report output in the PL/SQL procedure?
    Thanks & Regards,
    Sujesh K K

    I was able to do a workaround for this issue by rebooting the DB.
    As per ID 579281.1, this is a bug in 11.1.0.6 and we need to upgrade the version to 11.1.0.7 or apply a one -off patch.
    Thanks,
    Arun

  • 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

  • Dbms_schduler job is not running on a 2 node rac when 1st node fails

    Hi,
    I want to create a dbms_scheduler job in a 2 node RAC and the job should always run on the node1 and if node1 is down then it should run on node2. This is Oracle 10gR2 (10.2.0.3 in WINDOWS) .In order to do the same I did following
    -- First Step
    Using DBCA- Service Managment - Created a service (BATCH_SERVICE) and given node1 as preferred and node2 as available. This created following entry in tnsnames.ora in both nodes.
    BATCH_SERVICE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BATCH_SERVICE)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    --- Step 2
    -- Created BATCH job classes.
    BEGIN
    DBMS_SCHEDULER.create_job_class(
    job_class_name => 'BATCH_JOB_CLASS',
    service => 'BATCH_SERVICE');
    END;
    -- Step 3 -- created a job using job_class as BATCH_JOB_CLASS
    begin
    dbms_scheduler.create_job(
    job_name => 'oltp_job_test'
    ,job_type => 'STORED_PROCEDURE'
    ,job_action => 'schema1.P1'
    ,start_date => systimestamp at time zone 'US/Central'
    ,repeat_interval => 'FREQ=DAILY;BYHOUR=11;BYMINUTE=30;'
    ,job_class => 'BATCH_JOB_CLASS'
    ,enabled => TRUE
    ,comments => 'New Job.');
    end;
    Now when I monitor this job it runs on node1. Now I started testing for failover. I manually shutdown 1st instance. Then as per my understanding job should run on 2nd node. But job is not picking up.
    when I run the followign command
    srvctl status service -d db -s BATCH_SERVICE
    service BATCH_SERVICE is running on instance node2.
    Any help is really appreciated.

    It does not show that whether job is running or broken.

  • How to roll back when procedure fails

    Hi All,
    In my process using procedures i am droping the temp tables and creating temp tables ,if any procedures fails how should roll back all the process
    Procedure1(droping tables)----->procedure2(creating table1)--------->procedure3(creating table2)------->procedure4(Validaating accounts in table2 and creating seperate table)
    Any suggestion please
    Thanks in Advance

    Let's say in your package you have your 4 procedures (Proc1, Proc2, Proc3, Proc4).
    Also create 3 additional procedures:
    RollBack1 -> Does the opposite to Proc1 (i.e. if Proc1 drops a table, then Rollback1 will create it)
    RollBack2 -> Does the opposite to Proc2
    RollBack3 -> Does the opposite to Proc3
    Your logic will be:
    If Proc1 is successful, then execute Proc2.
    If Proc1 is unsuccessful, then end.
    If Proc2 is successful, then execute Proc3.
    If Proc2 is unsuccessful, then use an on failure path (red line) to execute RollBack1.
    If Proc3 is successful, then execute Proc4.
    If Proc3 is unsuccessful, then use an on failure path (red line) to execute RollBack2, followed by RollBack1.
    If Proc4 is successful, then end.
    If Proc4 is unsuccessful, then use an on failure path (red line) to execute RollBack3, followed by RollBack2, followed by RollBack1.
    It mightn't be necessary to undo everything - but you'll know your own business needs to make a decision on that.

  • Cursor in stored procedure fails

    Hi,
    In our application we have a stored procedure which is called with in parameters to generate data into some table. This procedure is being called from another procedure.
    This procedure has been used to generate data into the table without any problem since oracle 9i. Last year we have upgraded to oracle 11g after that this procedure is failing intermittently to generate data. When this procedure is executed 50 times it fails atleast once to generate data. If we rerun the procedure for the failed case it generates the data without any change to program code nor any change in underlying data. It doesn't fail if we rerun. Therefore we are unable to simulate the problem.
    Procedure has got a very simple code.
    proc1 (p1 date,p2 date) is
    begin
    for c1_rec in c1 (select col1,col2
    from x,y where x.......)
    loop
    end loop;
    end;
    First we thought for some reason this procedure was not executed at all. But it is not the case. Actually it calls the procedure but the cursor inside the procedure doesn't fetch any records. Also it doesn't report any oracle error.
    Appreciate if any one can help me in this.
    Thanks & Regards,
    Raja

    vaidyanathanraja wrote:
    4. If there is a logical error, the same procedure should not generate data when it is rerun. Behaviour should be the same at all times.Incorrect. Something like NLS settings for example can make the same code, behave differently. E.g. a date string is passed and implicitly converted to a date. And this will work for most dates from different session using different NLS settings (e.g. yyyy/mm/dd versus yyyy/dd/mm). And these sessions will provide different results using the same parameters calling the same application code.
    There are a number of such run-time factors that influences code.
    5. Failed means it didn't generate the expected output. Which means that there is a problem with that SQL being executed the way it is, with the parameters used. You need to isolate the problem further.
    6. Parameter values are right.Have you proved that by using a test case that runs the very same SQL via a test proc, using the same parameter, via a job? Ran that test case interactively via sqlplus?
    You need to pop the hood and isolate the problem.
    7. I came across one blog saying different behaviour for REF CURSOR between oracle 10g and 11g and he says it is oracle bug. I don't know whether it is applicable for this case also.Bahumbug. There are many Oracle bugs. As there is in all software. However, you have not provided any evidence of a bug.
    Application code is behaving inconsistently. That is the symptom. Oracle system code is not relevant until you can prove that the inconsistency is not in the application code, but lower down the call stack.

  • "Who ran me" - how to determine the name of the dbms_scheduler job that ran me

    Hi Community
    I can see plenty of examples out on the interweb which shows how you can use dbms_utility.format_call_stack to find the hierarchy of procs, functions and packages that got me to a particular point in my code.
    For example, if proc (procedure) A calls proc B, which in turn calls proc C, in the code for proc C, I can query the call stack to find out that proc C was called by proc B which in turn was called by proc A
    However, I want to extend this further.
    For example, using the example above, if proc A in turn was started by a dbms_scheduler job, I want to determine (within proc C) the name of the dbms_scheduler job which started the whole process off.
    The reason I want to do this is that I have inherited a (massive) system which is undocumented. In many places within the code, email alerts are sent out using a custom "MAIL" package to designated users (now including me) when certain long-running processes reach certain milestones and/or complete.
    I have added to the custom "MAIL" package a trailer on the mails to show the call stack. I also want to show the name of the dbms_scheduler job which started it all.
    Over time, this info may help me in building the "map" of how the whole undocumented system hangs together and in the meantime, to assist in troubleshooting problems
    Looking forward to hearing from you
    Alan

    Use USER_SCHEDULER_RUNNING_JOBS or DBA_SCHEDULER_RUNNING_JOBS there is column SESSION_ID and when you know your session ID build query is very simple.
    select owner, job_name
    into ...
    from dba_scheduler_runnig_jobs
    where session_id=sys_context('USERENV','SESSIONID');
    You must declare local variables in PL/SQL procedure to read owner and job_name into them. Second thing, you must handle possible exception no_data_found than can be raised when procedure is not run from job.

  • Query to get script for dbms_scheduler jobs

    Hi,
    I created 3 dbms_scheduler jobs on customer DB earlier. Now with the latest version of Toad they have, when I try to describe these jobs it gives me an error saying ADMIN MODULE REQUIRED to describe such objects.
    I contacted Toad for the same and they asked the customer to purchase ADMIN MODULE which th customer is not willing.
    My problem is that I need the scipts of each of these DBMS_SCHEDULER jobs and programs, However I am not able to locate a DATA DICTIONARY that would store the source for each of them like we have for PROCEDURES etc USER_SOURCE data dictionary.
    Is anyone aware of any such Data Dictionary or has a quey though which I can retrive Scheduler Jobs and Programs scripts.
    Please Help.

    Ok got it :)
    To show details on job run:
    select log_date
    , job_name
    , status
    , req_start_date
    , actual_start_date
    , run_duration
    from dba_scheduler_job_run_details;
    To show running jobs:
    select job_name
    , session_id
    , running_instance
    , elapsed_time
    , cpu_used
    from dba_scheduler_running_jobs;
    To show job history:
    select log_date
    , job_name
    , status
    from dba_scheduler_job_log;
    show all schedules:
    select schedule_name, schedule_type, start_date, repeat_interval
    from dba_scheduler_schedules;
    show all jobs and their attributes:
    select *
    from dba_scheduler_jobs;
    show all program-objects and their attributes
    select *
    from dba_scheduler_programs;
    show all program-arguments:
    select *
    from dba_scheduler_program_args;
    Thanks

  • How to detect when a tile fails to load

    We currently use SSRS to generate maps w/ custom layers and data.  The requests made by SSRS to the Bing Map system occasionally fail when creating PDF versions of the reports under heavy load.  I am looking for a way to work around SSRS's limitation
    when using Bing Maps.
    One approach I am exploring is to create a system that generates my own map images using the Bing Maps Api directly rather than being dependent upon SSRS.  However, i can imaging that at some point a request to Bing Maps will result in a failure.  Either
    the system was unavailable or the request for the map tile timed out.  
    I would like to be able to detect when a tile failed to be received.

    Hi Z3M,
    Thank you for your question.  
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.  
    Thank you for your understanding and support. 
    Thanks,
    Simon Hou

  • Automated error email notification when outbound IDOC fails

    Hi,
    The requirement is that whenever the outbound IDOC of message type PAYEXT, basic type PEXR2002, fails, then email has to be trigerred to a group id.
    I had suggested to write a report program that runs as a job. If the IDOC goes to error status then mail will be sent from this report. Client prefers it to be done through workflow.
    There is a standard process code for outbound IDOC failure handling EDIO (we40). standard task 7989 has been assigned to this process code. I dont want to modify this standard task as I am not sure of impact.
    Terminating event for this task is 'ERRORPROCESSCOMPLETD'.
    I have developed the workflow that has trigerring event 'ERRORPROCESSCOMPLETD' and bound with the IDOC number. This will send mail to the group id with the IDOC details
    Now issue is that, I am not sure if standard process EDIO will be trigerred automatically, or should we configure anywhere. Since this is standard outbound IDOC, I am not able to add the process code in partner profile.
    Please give your inputs or any other alternate solution to send mail through workflow when  outbound IDOC fails.
    Thanks in advance.

    Hi,
    I guess in your outbound partner profile for PAYEXT. you need to add process code  EDIO in message control TAb. WHich will cause to trigger the workflow which will send the notification.

  • How do I restore my tabs and windows, whether open or closed, when everything else fails?

    This is not so much a question, as an answer that some people desperately need.
    Ever since Version 34, Firefox has done a superb job of restoring the tabs that the user has created, either on restarting Firefox (if that option is chosen) or on request.
    The details of how to restore tabs are covered in Firefox's basic help online, and even how to deal with several crashes in a row (such as in an addon) ruin the normal backup file are also well explained.
    However, today I accidentally pressed Alt+F4 twice on my poorly-designed keyboard and closed my main window, with 93 tabs, and another Firefox window as well. I'm not sure this is exactly what happened, but I lost all 93 of my tabs.
    I read many of the postings in which people give various suggestions, but none worked. Every time I restored a version of the sessionstore.js file I saw the same lonely empty tab. Restoring prefs.js did nothing, and neither did making changes in the internal configuration constants.
    I tried refreshing/resetting Firefox (which preserves bookmarks), but I still couldn't restore the tabs. It was now clear that the problem was in sessionstore.js (and all its backups) for sure.
    I'm writing this for people who must restore their windows or tabs, and don't mind getting technical about it. That was my situation.
    The solution was to realize that the sessionstore.js file contains JSON code, which is an efficient way to represent integers and strings arranged in a tree structure.
    I figured there must be a JSON editor somewhere, and it turns out there is a great one available online, at www.jsoneditoronline.org . It can read a file on your computer, edit it, then save it back on your computer.
    As soon as I viewed sessionstore.js in the editor, it was obvious how easy this was going to be. The top level of the tree is understandable. I simply grabbed the data representing the window with 93 tabs, and dragged it from the list of closed Firefox windows to the list of open windows. This automatically moved the history of each tab, and even the strings entered into forms.
    After copying sessionstore.js back to the Firefox profile, I started Firefox one more time. The playing of Pandora signalled that my tabs were back and functioning once again.
    Now, editing JSON code is not something that everyone is ready for. And your problem might not be reflected in the JSON tree so simply. But, for technical-minded people who don't want to lose their tabs or windows to a mistake or a crash, this technique can be just what's needed when everything else fails.

    That sounds very handy. Nice going. A kind of backup would be to
    create a folder in the Bookmarks Manager, and keep a list of links there.
    Just one note. The sessionstore file shows the last windows / tabs that
    are open. Because the window with the 90 tabs was closed first, then the
    other, that is what caused your issue.
    Please edit the post title by adding '''==Solved==''' to it. Others may think
    you are asking for help, not offering a solution.

  • Jobs trying to access ODBC driver fails at a particular time of the day

    Hi,
    We have 3 jobs which fails at around from 10 PM to 6AM with the following message in the job history:
    [SQLSTATE 42000] (Error 7320)  OLE DB provider "MSDASQL" for linked server "mfglive" returned message "[DataDirect][ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Server crash likely.". [SQLSTATE 01000] (Error 7412) 
    OLE DB provider "MSDASQL" for linked server "mfglive" returned message "[DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Socket closed."
    But the same jobs run perfectly when I schedule them to run at any time during the working hours.
    I want to confirm if there can be something wrong with SQL/Linked server for this issue?
    Thanks

    It appears to me that that job conflicts with database maintenance activities during the night.
    Related blogs:
    http://knowledgebase.progress.com/articles/Article/P184190
    http://knowledgebase.progress.com/articles/Article/P128908
    http://knowledgebase.progress.com/articles/Article/000038541
    http://www.sqlservercentral.com/Forums/Topic1149419-146-1.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Dbms_scheduler job neither succeeds nor errors its just keep running for ever

    Hi All,
    I am trying to run a shell script from plsql using the dbms_scheduler, job is getting created and it keeps running for ever without success or error.
    Can some please help me where I am doing the mistake.
    Thanks
    DB Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    Plsql Script:
    BEGIN
       DBMS_SCHEDULER.create_job (
          job_name              => 'SFTP_PAYMENTECH_BATCHID1',
          job_type              => 'EXECUTABLE',
          job_action            => '/app07/ebdev/ebdevappl/xxtpc/bin/test.sh',
          number_of_arguments   => 1,
          enabled               => FALSE,
          auto_drop             => TRUE,
          comments              => 'SFTP Batch File to Paymentech');
       DBMS_OUTPUT.put_line (
          'Job Created Successfully:' || 'SFTP PAYMENTECH BATCHID');
       fnd_file.put_line (
          fnd_file.output,
          'Job Created Successfully:' || 'SFTP PAYMENTECH BATCHID');
       COMMIT;
       DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE (
          job_name            => 'SFTP_PAYMENTECH_BATCHID1',
          argument_position   => 1,
          argument_value      => '66667'                        /*v_printer_name*/
       DBMS_SCHEDULER.enable (name => 'SFTP_PAYMENTECH_BATCHID1');
    EXCEPTION
       WHEN OTHERS
       THEN
          fnd_file.put_line (fnd_file.output,
                             'Error while creating the Job:' || SQLERRM);
          DBMS_OUTPUT.put_line ('Error while creating the Job:' || SQLERRM);
    END;
    Shell Script which I am calling:
    #!/usr/bin/ksh
    FILENAME=$1
    PMTHOST=198.xx.xx.xx
    PMTUSER=xxxxx
    PMTPW=xxxxx
    a='apps'
    b='xxxxxx'
    c='EBDEV'
    INST=`echo $TWO_TASK | sed 's/_BALANCE//'`
    echo INSTANCE: $INST
    echo
    File_Path=$XXTPC_TOP/iby/out
    echo File Name: $FILENAME
    echo $PMTHOST
    echo $PMTUSER
    echo
    echo Date: `date`
    echo
    echo File System User: `whoami`
    echo
    echo Instance: $TWO_TASK
    echo
    echo File_Path: $File_Path
    echo
    echo PMT SFTP
    # Fetch file using MBATCHID as File Name
    cd $File_Path
    echo
    echo -----------------------------------------------
    echo
    echo Current File          :$FILENAME
    l_date_time=`date +%Y%m%d%H%M%S`
    echo SFTP Remittance File
    # sftp $PMTUSER@$PMTHOST << EOF
    lftp -u $PMTUSER,$PMTPW sftp://$PMTHOST << EOF
    lcd $File_Path
    cd test/945299
    put $FILENAME
    exit
    EOF
    #`sqlplus -s apps/tpcdev2013@EBDEV @try.sql $FILENAME`

    Have you tried running the script manually to confirm it isnt just hanging on input for the lftp ?
    You could add a -o <file> to the lftp command line which would output debug info into <file> so you could see.
    Creation of the job looks fine so as GregV said, what output do you have in ALL_SCHEDULER_RUNNING_JOBS and any ADDITIONAL_INFO in the ALL_SCHEDULER_JOB_RUN_DETAILS or in $ORACLE_HOME/scheduler/log that might indicate what the problem is ?
    If this answer was helpful, please mark as helpful answer. 

  • Exclude DBMS_SCHEDULER jobs in DATA PUMP import

    Hello,
    I need to exclude all DBMS_SCHEDULER jobs during DATA PUMP import.
    I tried to do this with: EXCLUDE=JOB but this only works on DBMS_JOB.
    Is there a way to exclude all DBMS_SCHEDULER jobs during import?
    Kind Regards

    There are PROCOBJ that can be excluded (Procedural objects in the selected schemas) but I'm affraid it exclude not only DBMS_SCHEDULER jobs.
    Any ideas?

Maybe you are looking for

  • Mail attachments in leopard do not open correctly

    I have noticed my mail attachments on my macbook do not open correctly. When I get attachments in mail on my IMac using, Tiger they appear directly under the e-mail. Even quicktime apps. On my macbook, which is using leopard, they usually are in the

  • Somer real time questions

    hi experts, 1. how to call 2 transactions in same BDC program at a time, like 'mk01' and 'va01'. 2. what is the transaction to create barcode. 3. how to debug a smartform. 4. in which table session are stored. ALSO CAN ANY ONE SEND ME SOME REAL TIME

  • Demantra - problem with procedure EP_BUILD_MODEL

    Hi, We have installed Demantra 7.3.1 Then create new model with Data Model Wizard. After clicking Build model we got the following error: Error - ORA-20001: Error in Procedure REBUILD_DATABASE ORA-1400: can not insert null in (DEAMANTRA.LOC_LEVELS.EN

  • Can I create a task that includes 2 C series modules?

    I am trying to create a single task that includes 2 NI-9425 C series modules but when I wire the physical channel constant "Mod3/port0, Mod4/port0" into the DAQmx Create Virtual Channel.vi I receive error -200086 which states physical channel range s

  • How do you export a Premiere Pro screen shot without distortion when importing into Photoshop?

    How can I take a screen shot in Premiere Pro (CS6 or CC) without it becoming distorted? Lately, when doing this, the images are elongated. Then, when I bring the image into Photoshop, it looks fine, except that the Pixel Aspect Ratio has been automat