DBMS_JOBs Stopped runnning Scheduled Workbooks

Has anyone encountered this situation.
We've scheduled workbooks running for years. This past weeked they seemed to have stopped. The daily jobs all show the next scehduled run date as 02/17/08. If you schedule something to run immediately it just sits in the pending status.
I had our dba scheck the init.ora setting for the "job_queue_processes" and it's currently set to 5. There doesn't appear to be any jobs currently running from what I can see.
Thanks, Brent.

Handle:      813158
Status Level:      Newbie
Registered:      Nov 18, 2010
Total Posts:      73
Total Questions:      16 (16 unresolved)
so many questions without ANY answers.
http://forums.oracle.com/forums/ann.jspa?annID=718
Aby ideas why this is happening ???Based upon all the details you provided, I suspect something is wrong.
please use COPY & PASTE so we can see what you do & how Oracle responds

Similar Messages

  • Stop Job scheduler

    We have set up some jobs to run through the job scheduler in OEM. We still have jobs running though the old job scheduler. To stop the old jobs we issue the command
    alter session set job_queue_processes=0
    This does not stop the jobs we have running through the new job scheduler. How can we stop them? Is there a parameter that we can easily set to stop and start them like the old job_queue_processes or do we have to go to each job to do it?
    We clone our production DB to our test environments and when they come up we need things to be shut off until we make changes to some of the production data. Is there an easy way to shut off the job scheduler?

    Hi, JOB_QUEUE_PROCESSES specifies the maximum number of processes that can be created for the execution of jobs, if you need disable all jobs you must execute
    alter system set job_queue_processes=0;
    If you need stop the any job when they are runnning you must the stop manually with dbms_job.stop(jobid);.
    Luck.
    Have a good day.
    Regards,

  • 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

  • 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

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

  • Discoverer: schedule workbooks error ora-942

    If I schedule the workbook i receive erorr ora-942 table or view doesn't exists. Information is not written into table type EUL... I tried to schedule as owner of EUL
    Could anyone help me.

    Hi,
    From the administrator guide (read the lovely manual?? ;-):
    Before an end user can schedule a workbook, you must:
    configure the database to enable the scheduled workbooks feature by:
    confirming that the DBMS_JOB package is already installed on the database and installing the package if it is not already installed (for more information, see "How to confirm that the DBMS_JOB package is installed")
    specifying the database user that will own the tables containing the results of scheduled workbooks (for more information, see "How to specify the owner of the tables containing scheduled workbooks results")
    setting the frequency of scheduled workbook processing (for more information, see "How to control the frequency that the server checks for new scheduled jobs")
    grant the Schedule Workbooks privilege to the database user (for more information, see Chapter 7, "How to specify the tasks a user or role (responsibility) can perform")
    Regards,
    Sabine

  • 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

  • How to stop a Scheduler Job in Oracle BI Publisher 10g

    Hello!
    Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
    I scheduled a bursting job to run a report but is running during two days.
    I would like to stop it.
    Thanks.
    Edited by: SFONS on 19-Jan-2012 07:16

    Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
    Same thing applies for running queries.
    Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
    it is just a message.
    I guess you will have to stop/kill the process in your DB
    regards
    Jorge
    p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"*

  • 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

  • HOW TO STOP A SCHEDULING A PROCESS CHAIN IN SAP BPC

    Hello Expert,
    Can Any 1 tell me  how to stop a scheduling of a process chain in sap bpc ??

    Hi Neeraj,
    Your question is not clear.
    If you are asking - How to delete a schedule which runs a process chain/DM package from EPM, then please go to Data Manager -> click View Status arrow -> select view schedule status -> select the schedule, right click and choose delete schedule.
    Neha

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

  • To stop all scheduling in Business Objects 4.0

    Hi
    I just want to stop all the scheduled reports to run in Business Objects
    Which process should i stop for it ?
    Is it Adaptive Job Processor?
    This is why i need it
    We have migrated our BO from 3.1 to 4.0 in UNIX environment so its a prod parallel environment
    and we are going to keep the old production environment running too for a week just to test the new one is fine or no.
    But for 4.0 we have new prod environment and new CMS database
    Next we are going to get all the data using BO Upgrade Tool
    As Unix has complete upgrade it will get all the scheduling info too
    Now i don't want the reports to run in our old production environment and new too
    So which process should i stop which will only stop the Scheduling and wont impact other part.

    Priyanka,
          You need to STOP the Adaptive Job Server, this will STOP all scheduling jobs.
    Regards,
    Ajay

Maybe you are looking for

  • Xorg.conf nVidia ION resolution

    Sorry for my English. I have this board: ASUS AT5IONT-I, Atom D525, ION2, PCI-E 4X, 2xDDR3 SODIMM, Gbit LAN,E-sata, USB3.0, DVI, HDMI, Fanless, Heatpipe, Mini-ITX. And, trying to make HTPC. I install Arch with openbox, but the problem is with video r

  • EHP5 - when will it be available on general release, anyone installed it?

    Hi SDNers, Does anyone know when EHP5 will be released? I see that Note 1171344 SEM-BCS in the context of SAP ERP 6.0 EHP was updated in June with more information on EHP5 features. Does anyone know when it will be on general release? If anyone is cu

  • SAP WM Discrepancy

    Hello SAP gurus, I am rather in the field of WMS. I have made a small mess and require your assistance and guidance on how to solve the below issue. I have attached an image file on my view of the troubled material (LS24) snapshot. Physically, there

  • Error in executing redologs back-up

    Hi experts, We are currently experiencing problem on our redologs backup including check database update stat(DB13). Below is the error message found in DB12 rergarding redologs backup, please help. BR0002I BRARCHIVE 6.40 (41)                        

  • Adding the location to a photo in Yosemite

    Does anyone know how to add a photo's location from within the Mac Photos app (or at least without any 3rd party software and iPhoto).