Scheduling workbooks in discoverer desktop

I'm trying to figure out how to schedule workbooks to run and export the output to a folder in Discoverer Desktop, I see in many posts that it can be done easily, I just can't figure it out, can anyone help?
I did confirm with my DBA that we do have the DBMS_Job package installed.
When I click on schedule as a user I get the following message:
A workbook cannot be scheduled for the following reason(s) - summary refresh 'job_queue_processes' parameter is 0
I would appreciate any help you can offer.
Thanks,
Janet
email: [email protected]

Hi Janet
You do not need to have DBA privilegs to schedule workbooks and any user should be able to do this. Here is an article from my notes:
Setting up Workbook Scheduling
The workbook scheduling feature in Discoverer uses native features in the Oracle DBMS, and is therefore only available when running against the Oracle database. This feature uses the same highly scalable and reliable processing procedures ithin the kernel, since the summary management capability and the setup for both features is similar. These procedures use standard packages in the DBMS called DBMS_JOB.
To enable the processing procedures for workbook scheduling in Discoverer, follow these steps:
A. Grant Schedule Workbook Privilege to the user.
B. Confirm that DBMS_JOBS has been installed.
C. Specify result set storage.
D. Set the time period at which the process kicks in.
These procedures are described in the following sections:
A. Grant Schedule Workbook Privilege to the User
The user must be granted the Schedule Workbooks privilege in the Privileges dialog. Connect to the Administration Edition, and grant the Schedule Workbooks privilege in Tools->Privileges dialog.
B. Confirming that DBMS_JOBS is Installed
1. Log onto SQL*Plus as the Administrator, and execute the following SQL statement:
SQL> select * from all_objects where object_name='DBMS_JOB' and
object_type = 'PACKAGE';
If the statement returns no rows, use SVRMGRL to create the necessary packages.
2. From Windows XP or NT, select Start->Run.
3. Type in one of the following:
SVRMGRL
4. When in the DBA facility, type CONNECT INTERNAL.
5. Execute the following SQL statement:
SQL> start <ORACLE_HOME>/rdbms/admin/dbmsjob.sql;
SQL> start <ORACLE_HOME>/rdbms/admin/prvtjob.plb;
C. Specifying Result Set Storage
When a scheduled workbook is run, the results are stored in database tables
within the database. Result set data created as part of the workbook
scheduling process may be stored in one of two areas:
the user's own schema or a centralized schema.
User's Schema
In order to enable workbook scheduling in the user's own database schema,
the user requires the following database privileges:
Create Procedure
Create Table
Create View
To grant these privileges, do the following:
1. Log onto SQL*Plus or SQLDBA as the Database Administrator.
2. Type the following:
SQL> Grant CREATE PROCEDURE to <USER>;
SQL> Grant CREATE TABLE to <USER>;
SQL> Grant CREATE VIEW to <USER>;
SQL> Grant EXECUTE ANY PROCEDURE to <USER>;
SQL> Grant SELECT on SYS.DBMS_JOB to <USER>;
SQL> Grant EXECUTE on SYS.V$_PARAMETER to <USER>;
where <USER> is the userid of the person who is to be allowed to schedule
workbooks.
These privileges must be granted directly to the user and not to a database
role.
Advantages: A database limit can be specified on the maximum amount of data a
user can store in the database. If the result set is stored under the user's
schema, then you keep control over the maximum amount of space one individual
user can fill with result sets. If the user creates a scheduled workbook that
fills that space, it affects only his/her own scheduled workbook.
Disadvantage: The user is required to have the above privileges in the database.
Repository User's Schema
In order to enable workbook scheduling using a centralized repository user's
schema, the SQL script batchusr.sql must be run in SQL*Plus or SQLDBA as a
database administrator (such as, SYSTEM). This script creates a new user that
is granted the above privileges.
In addition, the administrator of the EUL must change the user so that the
Repository User property is pointing to the repository user's schema just
created. The centralized repository user's schema may be customized by the
database administrator for space management purposes and underlying data access.
NOTE: SELECT ANY TABLE access is given by the script batchusr.sql,
but this may be limited provided the repository user's schema is
granted access to the underlying data that will be accessed for
workbook scheduling.
The repository user created will not be able to directly schedule a workbook
through the User Edition.
Advantages: Each user does not need DML procedures to run scheduled workbooks.
Disadvantages: One user can potentially run a scheduled workbook that fills the
available result set space, preventing other scheduled workbooks from running
until it is cleared.
D. Setting the Start Time for Workbook Processing
The workbook processes run within the database on the server, and are
controlled by parameters in the initialization file of the Oracle DBMS
- the INIT<SID>.ORA file.
To limit the number of processing requests that can run simultaneously:
The parameter job_queue_processes specifies the number of concurrent processes to use to process DBMS_JOB. It controls the number of processing requests that can be handled simultaneously. The default value is zero, which means processing requests will not be created. You should set it to a minimum of 2 or more if you have any other applications that use DBMS_JOB.
You need more than one job queue process, because if one job fails for any reason, it may keep getting re-submitted, and thus, prevent everything else in the queue from being completed. If you want to have 10 simultaneous processing requests handled, then you will need to set this to 10.
The INIT<SID>.ORA parameter job_queue_interval is the time in seconds that controls how often the job processes wake up to process pending jobs. The default is 60, which is quite frequent. What you set this to depends on how frequently you want the process to wake up and serve the requests that have been made. Oracle recommends that you update the 60 seconds default to at least 10 minutes (a value of 600).
NOTE: This parameter also affects summary management.
To enable these parameters:
1. Locate the INIT<SID>.ORA file.
For example, on Personal Oracle7 the INIT<SID>.ORA file is held in
<ORACLE_HOME>\database. Its default name is INITORCL.ORA where ORCL is
the <SID> name.
2. Enter 2 lines into the file. For example:
job_queue_processes = 2
job_queue_interval = 600 (equivalent to 10 minutes)
NOTE: The summary management and workbook scheduling features both use this scheduling capability within the Oracle DBMS. The interval you specify and the number of concurrent requests affect both features.

Similar Messages

  • Can't create scheduled workbook on Discoverer desktop

    Hi ,All
    I want to create a scheduled workbook on discoverer desktop(end user version) by....
    1. grant privileges to user in the following
    CREATE PROCEDURE
    CREATE TABLE
    CREATE VIEW
    SELECT ANY TABLE
    2. grant scheduled workbook to user in Discoverer Admin(Menu-->Tool--> Privileges)
    when I launch discoverer desktop to schedule workbook ,I can select workbook, set time to run and set parameter but when I accept all parameter to schedule workbook .....the program show the error
    "Internal EUL Error: TransError - Unexpected transaction error"
    Anyone know what is the problem and how to solve it ?
    Thank you,
    Mcka

    Hi
    See the following link, maybe it helps you:
    http://download-uk.oracle.com/docs/html/B13916_04/scheduled_workbooks.htm#sthref493
    Ott Karesz
    http://www.trendo-kft.hu

  • Scheduling Workbooks on Discoverer Viewer.

    Hello guys
    I know you can schedule workbooks in Discoverer 10g Plus, but can you do this in Viewer? If not, then does this mean that we must give all our users Discoverer Plus so that they can schedule their own workbooks? Users used to schedule their own workbooks on Discoverer 4i. Now we are upgrading to 10g and we wanted to give them Viewer access. How do they schedule workbooks in Viewer?
    Thank for all your help..

    Hi,
    In Discoverer viewer you cannot schedule reports though you can retrieve reports that have been scheduled.
    Users that have access to Viewer will also be able to access Plus by entering a Discoverer Plus URL. The users privileges are stored in the EUL and determine what features the Discoverer user can access, not which tool they can use. So if the user has read-only access to the workbooks in Viewer then they will also have read-only access in Plus.
    Rod West

  • 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

  • Re-scheduling workbooks from Discoverer Admin

    Hi All,
    We have Discoverer integrated with Oracle Applications.
    When logging into Discoverer Admin as EUL owner, it is possible to re-schedule workbooks scheduled by other users by navigating to 'Tools->Manage Scheduled Workbooks...' and clicking on the 'Edit' button for a workbook. It allows to change date/time of when the report should be executed and successfully updates the Discoverer meta-data tables in the EUL. However, the dbms job associated with the workbook is not re-scheduled, so the report is executed at the original time.
    I am not very familiar with the Discoverer, but my feeling is that it is not properly configured in our installation. Any advise on how to fix this issue would be greatly appreciated.
    Thank you.
    Denis

    Hi,
    You can move the workbooks by using a Discoverer export/import from Administrator.
    Rod West

  • Error While Creating new Workbook in Discoverer Desktop

    Hi Guys,
    I tried to import the following query which is running fine in toad
    Select Po_H_A.Po_Header_Id,Po_H_A.Segment1,Po_V.Vendor_Name,Po_L_A.Po_Line_id,Po_L_A.Line_Num,Po_L_A.QUANTITY*Po_L_A.LIST_PRICE_PER_UNIT Value_Of_Line,
    Decode(Po_V_S_A.VENDOR_SITE_CODE,null,null,Po_V_S_A.VENDOR_SITE_CODE||' ')||
    Decode(Po_V_S_A.ADDRESS_LINE1,null,null,Po_V_S_A.ADDRESS_LINE1||' ')||
    Decode(Po_V_S_A.ADDRESS_LINE2,null,null,Po_V_S_A.ADDRESS_LINE2||' ')||
    Decode(Po_V_S_A.ADDRESS_LINE3,null,null,Po_V_S_A.ADDRESS_LINE3||' ')||
    Decode(Po_V_S_A.CITY,null,null,Po_V_S_A.CITY||' ')||
    Decode(Po_V_S_A.STATE,null,null,Po_V_S_A.STATE||' ')||
    Po_V_S_A.ZIP||
    Decode(Po_V_S_A.PROVINCE,null,null,Po_V_S_A.PROVINCE||' ')||
    Decode(Po_V_S_A.COUNTRY,null,null,Po_V_S_A.COUNTRY||' ')||'Ph:-'||
    Decode(Po_V_S_A.AREA_CODE,null,null,Po_V_S_A.AREA_CODE||' ')||
    Decode(Po_V_S_A.PHONE,null,null,Po_V_S_A.PHONE||' ') Address
    From Apps.Po_Headers_all Po_H_A,
    Apps.Po_Lines_All Po_L_A,
    Apps.Po_Vendors Po_V,
    Apps.Po_Vendor_Sites_All Po_V_S_A
    Where Po_H_A.Po_Header_Id=Po_L_A.Po_Header_Id
    And Po_V.Vendor_id=Po_H_A.Vendor_id
    And Po_V_S_A.Vendor_id=Po_H_A.Vendor_id And Po_V_S_A.Vendor_Site_id=Po_H_A.Vendor_Site_id
    It is erroring like other existing posted threads
    Join configuratin cann't be resolved Reason the joins on the details folders use different keys to join the master.
    Thanks
    Shishu Paul

    Hi Guys,
    I got the solution, in place of importing query on Desktop better to create new custom folder under Administrator.
    Thanks
    Shishu Paul

  • 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

  • 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

  • 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).

  • 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

  • Discoverer Desktop (4)- Receiving error Attempt to Open Workbook Failed

    Hi,
    The reason for this error is multiple people are opening same workbook. This has never been a problem before as the user would receive message: "Open Workbook as Read Only..."
    Now they only get the message: "Attempt to Open Workbook Failed."
    We have tested here and have determined it is not a generell issue because we have the problem only on two workstations.
    I check the registry HKEY_CURRENT_USER for diffenerence between the workstations but without any success.
    There is no file access problem
    Any idea?
    Thx
    Arnd

    Hi all,
    We are having exactly the same problem. I've come to the point that there's a problem between Discoverer Desktop 4i and XP SP3.
    The scenario we have is:
    a) If an user with SP2 creates a workbook and saves it into the network shared folder,
    a.1) It can be opened by users with SP2 as many times as the want. They just receive the "Open Workbook as Read Only" warning message.
    a.2) Users with SP3 can open it only if the workbook is not open by any other user. After that all users receive the "Attempt to Open..." error message.
    a.3) If a user with SP3 makes any change to the workbook and saves it, it doesn't matter which SP version you have, the file becomes "corrupt" and only one user can open it at the same time.
    b) If an user with SP3 creates a workbook and saves it into the network shared folder it can only be opened by one user at the same time
    I've also made tests and the same error occurs if the .dis file is located in a local directory (c:\My Documents for example). I can not open it twice in my computer in two different discoverer desktop instances, and I have SP3, while another user with SP2 can.
    Any ideas? Our Discoverer Desktop version is 4.1.48.06.00
    Regards.

  • 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.

  • 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

  • Can I schedule a discoverer In Oracle Discoverer Desktop, Plus, Viewer ?

    Hi All,
    I have a version of Oracle Administrator : 10.1.2.48.18. My customer tells me if he will be able to schedule a report in the Oracle Discoverer, and then this schedule send an email with the information that shows the report.
    Thanks in advance,
    Mariano.-

    Hi,
    You cannot schedule and email using Discoverer scheduling. You have to use a third party scheduler and Discoverer Desktop. This article (http://ascbi.com/downloads/Third%20Party%20Documents/Scheduling%20through%20Concurrent%20Manager.pdf) may give you some ideas on how you can use third party scheduling with apps. A bit of extra development will also give you emailing of the scheduled output.
    Rod West

Maybe you are looking for

  • Streaming Netflix from an Ipod Touch to a TV

    I want to stream Netflix from my iPod touch 2G via composite av cable to a TV and it isn't working. I can stream music videos so I know the av cable is good and I tried changing the video settings. Any suggestions? I already have an Apple TV but I wa

  • Setting "Filling of Form Fields" document property to "Not allowed"

    I am using Adobe LiveCycle Forms, and I want to set the property "Filling of Form Fields" as "not allowed" in the pdf documents it renders (that property can be found in the "Document Properties" window of Adobe Reader, under the Security Tab). Is th

  • Routine for Updating a field in the source ODS to target ODS

    Dear BW Users, I have a source and a target ODSu2019s, letu2019s say ODS1 and ODS2. ODS1 updates Field1 to Field2 in ODS2. Those fields have the same information but Field1, InfoObject1, is defined as CHAR whereas Field2, InfoObject2, is defined as N

  • HT1353 Ipod Touch Trouble

    I have a second generation ipod and I'm trying to get a messaging app but it says 'update required' 'this app requires a 4.0 iOS?? How do I get an iOS?

  • Video not working by airplay to boxee box in ios 6.1.2

    hi there i have update my ipad to ios 6.1.2 from this ipad the airplay video not working on my Boxee box i have an online course that i take now i cant learn when u are going to fix this problem ?