Killing a scheduled workbook

Hi All,
There is report which took long time to execute hence i scheduled that, but this report is taking very long to display the output than expected.
The status of this report shows Running Query. I want to kill that scheduled workbook, is there any way i can do that.
Any sql statements to kil the scheduled workbook from the backend or by any other way would be of great help.
Regards,
Shruti

Hi Shruti ,
After killing the job you can do the following to remove the job from the Discoverer Scheduling Manager .
But first make sure that you have a schema level backup . (Just in case :) )
# Connect to SQL*Plus as the EUL owner:
Issue the following command to get the scheduled reports name (doc_name):
SQL> select doc_id, doc_name from eul5_documents where doc_batch=1;
# Get the scheduled workbook id (br_id) by referencing the doc_name (obtained from the query in step 2 above) and using the command:
SQL> select br_id from eul5_batch_reports where br_name='<doc_name>';
# Get the status (brr_state) of the scheduled workbook id (brr_id) using the command:
SQL> select brr_id,brr_state from eul5_br_runs where brr_br_id=<br_id>
For example,
BRR_ID BRR_STATE
100975 2
# Now update the table and set the status of brr_state to a value of '4' which is 'Error while running query':
SQL> update eul5_br_runs set brr_state=4 where brr_id=100975;
SQL> commit;
Thanks,
Sutirtha

Similar Messages

  • Scheduled workbooks can be open via DisPlus/Viewer but not in Desktop

    When we schedule reports in Discoverer results can be pulled out only via Discoverer Plus/Viewer, when sthe ame scheduled report is opened via Discoverer desktop we get the following massage:
    “The results run for this scheduled workbook can no longer be used because the query has changed. Do you want to query the database now for the new results?”
    Does anyone know what the issue is here and how it can be resolved?
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Desktop Client 10.1.2.50.05
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi

    Hi
    When you upgraded your Discoverer to 10.1.2.2 did you also apply the patch to upgrade Desktop and Administration?
    You would have needed to get hold of the Windows version of the patch then run the software update pointing at the Desktop version.
    Also, I've heard of this happening following an upgrade from version 4 to version 10 and there are various notes on My Oracle Support concerning this. The one I was just looking at is note 419794.1
    Another area where this can happen is if the worksheet uses code that would generate a fan trap. Note 389906.1 deals with this.
    Best wishes
    Michael

  • Deleting the scheduled workbooks that are no longer valid - via script

    Hi,
    I would like to delete the results of the scheduled workbooks (created by users other than me) with scheduled workbooks status like 'Error while running query" or "Report Expired" or "EUL has changed, reschedule report". From Discoverer Administrator (version: 10.1.2.1) --> Tools --> Manage Scheduled Workbooks --> search by user, I can only delete one scheduled workbook at a time. Is there a way to delete these via a script of some kind?
    If any one has a sample script and if you can share here that'd be awesome.
    Thanks in advance,
    -Esther

    Ran into Note:459747.1 from metalink. It has information to identify the scheduled workbook results etc., But according to the note in this note "Note: The tables mentioned here should never be updated or deleted manually."
    But the admin tool allows to delete one scheduled workbook result at a time based on the status.
    Any information here would be beneficial...
    Thanks

  • Schedule workbook using with Unix shell script

    Hi,
    Can we schedule workbook using with Unix shell script?
    Thanks,
    Jay

    I can't imagine how.
    1. You can schedule Disco workbooks via Disco itself.
    2. You can schedule Disco workbooks to run and output in different file formats automatically via batch scheduler in Windows running Disco Desktop directly (or can user VBasic).
    3. You can schedule Disco workbooks to run and output in different file formats automatically via a Java program running the Java Command Line interface.
    Moving forward, Oracle has announced that with a further interfacing of Disco with XML Publisher, you'll be able to use Oracle Apps concurrent manager and scheduling. But that's coming supposedly at the end of this year.
    And I think that's about it.
    Russ

  • Discoverer Viewer and Scheduled workbooks error

    Hi
    Hope someone can help.
    I am scheduling workbooks in Discoverer Plus 10.1.2.48 with the intention of viewing them in viewer.
    The report shows itself as running okay in Admin, but when I open the report in Viewer or Plus I get errors including:
    ORA-03106 Fatal two task communication error
    or
    "unable to generate sql for this scheduled workbook"
    I suspect they might be retrieving fairly large result sets (10 K rows +)
    Please can anyone offer advice on how to resolve this?
    Many thanks

    Hi Tim
    Well just the way the file is put together, like is it using SID= or SERVER=, does it use SERVER=DEDICATED, do you have one ADDRESS= or multiple?
    To make sure everything is right, rename both TNSNAMES and SQLNET.ORA files, then suse Net Configuration Assistant to set up a connection. Then compare that with what you have already and make the necessary changes.
    I also noticed that Russ has made a posting concerning a similar error. You should take a look. Its either in here on the Discoverer forum.
    Best wishes
    Michael

  • Automatically send by email the result of a scheduled workbook Discoverer

    Hi
    is their any way to send emails automatically from discoverer 4i, the results of the scheduled workbooks!
    if not in 4i whether it can be done in 9i?
    -Seetha

    Hello,
    I have the same requirement .. I need to email dicoverer report to about 40 - 50 clients. I need to pass the clients name as paramter to the workbook and send the report output to the corresponding client.
    Can some body please tell me how this can be done using batch file. Is it possible to pass parameters to workbooks and run the disc report from the batch file.
    Thanks in advance.

  • Can I share a scheduled workbook?

    We have set up scheduled workbooks as the EUL owner, but cannot figure out how the user can access these scheduled reports using their own db id. The user has access to the original report, but does not have the rights to schedule it themselves. Version 10.1.2.1

    Hi
    If you are using the 10.1.2 Plus version of Discoverer, whether original or patched to 10.1.2.2 or 10.1.2.3 then you can do this.
    You simply use Tools | Manage Schedules, pick the existing scheduled workbook and then click the Share button. You can choose which user(s) should have access to the report results.
    Best wishes
    Michael

  • Schedule workbooks - results to excel

    Hello,
    I know you can schedule workbooks through discoverer plus. The results from these can be found under File > Open > View: scheduled workbooks.
    Is there anyway that these can be scheduled with the reults being output to excel?
    Thank you
    sarah

    Pl see previous discussions on this topic - https://forums.oracle.com/forums/search.jspa?threadID=&q=schedule+AND+excel&objID=f56&dateRange=all&userID=&numResults=15
    HTH
    Srini

  • Scheduling workbooks using the command line

    Hi, can anyone tell me if it's possible to schedule workbooks in Discoverer using the command line interface? If so, could you point me in the direction of any relevant documentation?
    We've got 300+ reports to schedule on a regular basis and it would be useful if we had different options to schedule the workbooks e.g. for batch processing.
    Thanks and regards
    Geoff Butler

    Inspired by your MacOS fix, I went looking to see if their was an easier Windows fix than my 'Repair Bonjour' process. Turns out there might be.
    In the Bonjour 'Program Files' folder, there is an application named 'mDNSResponder.exe' which brings up a DOS dialog. After running this application and then opening iTunes, I had a stable AppleTV-iTunes connection through the evening until I put my computer to sleep.
    I haven't done any thorough testing around this (the kind that Apple should have done before releasing iTunes 7.6), but it does seem to at least temporarily resolve the issue until iTunes is closed again. What would be nice is if this works without having to restart a faulty iTunes session (which the 'Repair' fix doesn't).

  • Error Scheduling workbooks

    Hi All,
    I scheduled a report with granting Create Table,View and Procedure Privileges to the user. But it shows
    Error: Isufficient Privileges.
    I have also installed DBMS_JOB package
    What could be the problem?
    Thanks in Advance.

    Hi agin,
    all I can suggest is triple checking that...
    In the Disco Admin Tool:
    Navigate to your 'Business Area'
    From the Top Menu:
    1) Tools -> Privileges -> Privileges Tab
    2) Select the EUL Owner from the drop down list
    3) Scroll down the list of privileges and ensure they are all checked... including the 'Schedule Workbooks' option...
    Also - when logged into SQL*Plus as the EUL owner - type in the following command at the prompt...
    SQL> desc dbms_job
    This should return the package header for the DBMS_JOB package and prove that you can see it. Perhaps even check you ave permissions to execute DBMS_JOB...
    Otherwise.... sorry - I've run out of ideas...

  • Prob in opening scheduled workbook

    Hi all,
    When I open a scheduled workbook it gives error ' Internal Error - Unable to generate SQL for this worksheet'.
    Can anyone help.
    Prasath.

    Hi Prasath
    It sounds like a privileges issue, more than likely database privileges.
    First things first though, is this a shared report or one that the user owns themself? If its a shared one then it could be that the user doesn't have access to the business area or one or more of the tables that make up the folders that are used in the workbook.
    If the scheduled workbook is owned by the user then it definitely sounds like a database privilege or two is missing. For users who will be scheduling they need these privileges:
    connect
    resource
    analyze any
    create procedure
    create sequence
    create session
    create table
    create view
    execute any procedure
    global query rewrite
    select any table
    unlimited tablespace
    execute on sys.dbms_job
    select on sys.v_$parameter
    Best wishes
    Michael

  • Script to delete expired or errored scheduled workbooks for Discoverer

    Hi All,
    Can any one pont me to find a script to delete all expired and Errored workbooks in Database for discoverer?
    Appreciate all your assistance.
    Thankks
    -S

    Hi Asim,
    I don't think you can share the results of the scheduled workbook using Desktop. As for Plus, when you're signed on as the other user are you in the same database & eul and are you looking for "scheduled workbooks"?
    Brent

  • Discoverer Scheduling Workbook failed.... advise needed please

    when I try to schedule workbooks on Discoverer 10.1
    Database Error - ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "TKDBA.EULL_BATCH_USER" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512 at line 2
    System: XP Pro SP2
    Desktop Client 10.1.2456c
    End User layer Library - 10.1.2.45.46c
    End User Layer - 5.1.1.0.0.0
    Edited by: ControlV on May 22, 2009 6:07 AM

    Hi
    Thanks for this. A couple of things come to mind. First, it looks like you may have done more than one installation of the Discoverer 10g Admin / Desktop Install and it also looks as though you have an older Discoverer sitting out there, presumably a Discoverer 4 version. How did I spot this?
    Firstly, the name you are using for you 10g installation is BIToolsHome_2. This tells me that you either have 2 or you had a failed install number 1. If you happen to be calling the executable from the first install with the PATH set to the second install this will cause a problem.
    Secondly, Discoverer 4 always installs using the ORANT folder.
    I am not sure what you have inside d:\oracle\bin or even in c:\oracle\discoverer\bin. These could definitely be causing problems elsewhere but probably not impacting Discoverer 10.
    10g Discoverer Admin / Desktop needs these 4 entries in the path and these are there, albeit againt BIToolsHome_2 and not 1:
    C:\oracle\BIToolsHome_1\bin;
    C:\oracle\BIToolsHome_1\jlib;
    C:\oracle\BIToolsHome_1\jre\1.4.2\bin\client;
    C:\oracle\BIToolsHome_1\jre\1.4.2\bin;
    First things first, we need to verify that you don't have an old version 1 hanging around.
    Right-click on the icon to start Admin. In your case it should look like this: C:\Oracle\BIToolsHome_2\bin\dis51adm.exe
    Right-click on the icon to start Desktop. It should look like this: C:\Oracle\BIToolsHome_2\bin\dis51usr.exe
    Please verify the above and let me know if everything looks right.
    Best wishes
    Michael

  • Discovere viewer and scheduled workbook

    I scheduled a workbook to run nightly. If I open the report, that belongs the scheduled workbook, in Dis Viewer, why Discoverer re-run the query again??? This defeated the purpose of scheduled workbook.....

    Yes. That is what I understanded. But when in a SQLPlus session I captured SQL statements of both unscheduled and scheduled reports and they both run the same SQL statement

  • Creating Scheduled Workbook

    Hi friends, I have just started working on Oracle discoverer 9.0.4.
    I have already created the normal workbooks and distribute the reports using discoverer viewer.
    But I want to know that How I can create the "scheduled workbooks". I have found about opening a scheduled workbook but nothing about their creation ?
    Please guide me, what I should do in order to create scheduled workbook.

    Hi Nirav
    Providing you have the necessary privileges there are two ways to schedule a workbook.
    To schedule the current open workbook, from the menu bar select File | Schedule.
    To schedule any workbook, from the menu bar select File | Manage Workbooks | Scheduling Manager, then click the button Schedule
    At this point you will be in the Schedule Workbook dialog box and you can now set up your scheduling.
    If the above options are grayed out then you have either not been granted the schedule workbooks option by your administrator or the scheduling database priviliges have not been granted, or the DBA has disabled the ability to run jobs.
    Let's look at the above in turn.
    To check whether you have been granted the schedule workbooks option, follow this workflow:
    1. Launch the Admin edition
    2. From the menubar, select Tools | Privileges
    3. Make sure you are on tab called Privileges
    4. Use the drop down and select the user who needs to be allowed to schedule
    5. Make sure the Schedule Workbooks button is checked
    6. Click OK
    The database privileges that control scheduling are:
    CONNECT
    RESOURCE
    CREATE PROCEDURE
    CREATE TABLE
    CREATE VIEW
    EXECUTE ANY PROCEDURE
    EXECUTE ON SYS.DBMS_JOB
    SELECT ON V_$PARAMETER
    SELECT ANY TABLE
    UNLIMITED TABLESPACE
    Here is a database create user script that sets up the privileges required for a user:
    create user username identified by password
    default tablespace TOOLS
    temporary tablespace TEMP
    quota unlimited on TOOLS;
    grant connect, resource, execute any procedure, select any table to username;
    grant execute on SYS.DBMS_JOB to username;
    grant SELECT on SYS.V_$PARAMETER to username;
    grant create procedure, create table, create view to username;
    Also do not try and grant the two SYS privileges via a Role. These must be granted direct to the user.
    At the database level, make sure that your DBA has set the database initialization parameter called JOB_QUEUE_PROCESSES to something greater than zero, I would recommend 10. If it is zero then you won't be able to schedule. At the minimum, for scheduling it needs to be at least 2.
    Hope this helps
    Regards
    Michael

Maybe you are looking for

  • Many problems & bugs in Nokia E72 (in hope that n...

    customer version 022.007.c00.01 1 - With the rapid entry phone you are calling from the keyboard greatly delayed the mapping already established figures in the 4-position and can not see them, it seems that they are not entered - is confusion and a f

  • Creation of multiple nodes in target IDOC as per field from sender file

    Hi SapAll. here i have  got a requirement in an File To Idoc Interface. the requirement is there will be one field under sender  file which will be repeating for multiple records(ItemCount),here pi need to check the value of this field for each recor

  • Abstract methods in ByteBuffer class

    I'am a little confused with abstract methods get() and put() in ByteBuffer class. Java API says: public abstract class ByteBuffer extends Buffer implements Comparable // This is a partial API listing public abstract byte get( ); public abstract byte

  • Mavericks and Logic 9.1.8

    Hi I just upgraded to Mavericks and now I am unable to load Logic. It crashes after telling me it will use the built in audio inputs. On first opening when the Au manager started there were two plugins which failed. (basically just logic 9 and Kontac

  • Termination actions_Process

    Dear Friends I have a serious doubt.  Mr. X salary is paid for the month of May.  After we paid him, he resigned on 31.05.2008.  What is the best approach for making the full and final settlement.  Anyway I know that we need to run the termination ac