Nightly scheduled workbook refresh: monitoring is any failed

Is there a way to monitor if any workbook refreshes failed during the night batch window using SQL script or something like that?

Hello Samuel/Raman,
Is getting below error related to the same reason as mentioned in this thread - 
Failure Correlation ID: 3e0e1f6a-cdfe-40ac-8d05-5e86f50052ef 
Errors in the high-level relational engine. The following exception
occurred while the managed IDataReader interface was being used: The operation has timed out.
The query takes around 27 mins to execute.
Thank You

Similar Messages

  • Scheduling Excel workbook refreshes (in indows)

    Hi.
    Has anyone ever set up a solution for scheduling the refresh of Excel workbooks containing BW queries that sit on local or network drives?
    e.g. either within the workbooks themselves using VB or in combination with a script in Windows running through directories and refreshing that way?
    Thanks.
    Mark

    Hi Mark,
    I'm facing the same need. I appreciate it if you can share with me your finding. of course, I will do the same.
    I hope some hints will be coming soon.
    regards,
    Laroussi

  • 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

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

  • Schedule workbook error

    I face some problem when trying to schedule workbook, as stated below:
    I have a column length change from VARCHAR2(35) to VARCHAR2(100). Now if I try to make "Schedule workbook" we got an error generated in the Discoverer's package, and this error looks like:
    “Error:
    ORA-12899 value too large for column
    "SCH_NP_DIS"."EUL5_B130708054654Q1R1"."BRVC69"
    (actual: 36,maximum: 35).”
    I found here in one post that I need to delete the scheduled workbook and refresh the EUL.
    But I am not sure how to refresh EUL using GUI interface of Discoverer administrator. Could anyone help me by mentioning the steps of EUL refresh. Or is there any other option to get rid of this error?

    Hi Soumen66,
    I agree with the methodology you found in this forum to fix this problem:
    -delete scheduled workbook (of course the workbook which the scheduled workbook is dependent is not deleted).
    -refresh EUL objects which have changed.
    With respect to how to refresh an EUL object (e.g. a folder which contains an object which has been modified), one just opens the owning Business Area and right clicks on the folder.  Next, select Refresh.
    With respect to canceling the existing scheduled workbook, the reason for this is that the scheduling components in the scheduling schema create a view and a table which corresponds with the results set's columns data definition at the time of scheduling.
    Patrick

  • Secure Store Service and Schedule Data Refresh

    Hi
    Can you please let us know how many (max) target application's we can create under 1 secure store service application? 
    As we know, Manage Data Refresh feature is only available for PowerPivot Service Report and we can access it from Sharepoint to schedule the Workbook for Data Refresh.
    As per our requirement, we need to build a interface to use this Schedule data refresh feature in a separate browser not from SharePoint. Please let us know how to build this interface, is there any option to use API Web Service.
    Thanks in advance.
    Regards
    K.V.B.Gururaaja

    Hi,
    For your first question, refer to the following link:
    https://social.technet.microsoft.com/Forums/en-US/ab7f24eb-0cbf-4101-931e-1f89446e2149/secure-store-service-target-application-max-number?forum=sharepointgeneral
    For your second problem, could you offer a screenshot about what is your intention?
    Besides, take a look at the article about  PowerPivot data refresh options:
    http://www.sqlchick.com/entries/2012/11/17/powerpivot-data-refresh-options.html
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • 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

  • Workbook does not contain any input-ready variables

    Hello Experts,
    We have one workbook which is not reacting when click on REFRESH or SHOW VARIABLE.
    If clicked on VARIABLE screen it is throwing error "The workbook does not contain any input-ready variables" (screenshot attached)
    Points I have checked are as below
    1. If I create a new workbook by executing the respective query and refresh then it is working.
    2. The file is in xls format and I have checked the USE XLS format under Global setting.
    3. My Excel version is 2010. SAP version is SAPKW70105. BEx 7.X, support package 8.
    4. It is not authorization issue otherwise the issue would have happened for the new workbook I created for testing.
    5. Also I tested with user ID with SAP ALL access.
    is there any way to repair the workbook so that it respond to Variable and refresh options ?
    Thanks,
    Gopi R

    Work book might be corrupted  : As other said need to create / Recover Old work book
    Refer Below  Doc  process For   recovering a  corrupted workbook :
    How to recover a corrupt workbook.

  • XIR2 - Date format problem in pdf file when scheduled to refresh

    We have a number of Deski reports that are scheduled to refresh daily and then be saved as pdfs to a network drive.  Despite the date format being correctly displayed in the reports stored in the respository, when the scheduled jobs save the reports as pdfs, it is changing the date format to the American format, i.e. 11/13/2007 instead of 13/11/2007.  I've checked both the Date/Time and Regional Settings on the server and they are set correctly.  If I log into Deski on the server and open a report and manually save it as a pdf, it saves it with the UK format.
    So what do I need to change to get the scheduled job to use the UK date format?

    Hi Anne,
    If you schedule reports through Infoview then please perform below steps.
    - Login to Infovinfoview -> go to Preferences.
    - Change the My interface locale is to "English (UK)" and My current Timezone to appropriate time zone under Genera tab.
    - Log off and login again.
    - Try to schedule the report to PDF or any other format and check the issue.
    If you schedule reports through CMC, then change Timezone setting to appropriate timezone in Preferences and schedule the reports.
    Thanks and Regards,
    Purna.

  • Problem in scheduling data refresh of excel file that uses PowerPivot

    I think I have successfully created and enabled the gateway and data sources for refresh - they are both seeming to connect.  However, when I try to schedule a data refresh to occur in the PowerBI site for the Excel file I receive an error message
    that the connection could not be established and receive error message "Correlation ID: d118ab93-436d-44a9-8c09-564f64fe0c58".  Appreciate any assistance in figuring out how to resolve.  Thanks a lotl

    Let's track it here: https://social.technet.microsoft.com/Forums/en-US/42c806dc-2d82-4bcf-ab6e-c279e2692a68/problem-in-scheduling-data-refresh-of-excel-file-that-uses-powerquery-and-powerquery?forum=powerbiforoffice365 
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Changing time-out for scheduled data refresh

    Using a Power Query connection, is it possible to extend the time-out time for scheduled data refreshes? The amount of data to be retrieved is rather limited, but there's thousands of rows (NAV server).
    If not, any suggestions to how to reduce latency?
    Thanks.

    Thorm,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

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

  • Are Workbook settings stored in any table

    Hi Gurus,
    Are the workbook settings stored in any of the tables? There is a requirement for me to collect the information on whether the Refresh automatic has been checked or not for the workbooks.
    It would be great, If any of you can provide me with the details of the same.
    If you require more details, let me know.

    Hi Pl check following tables
    RSRWBINDEX List of binary large objects (Excel workbooks)
    RSRWBINDEXT Titles of binary objects (Excel workbooks)
    RSRWBSTORE Storage for binary large objects (Excel workbooks)
    RSRWBTEMPLATE Assignment of Excel workbooks as personal templates
    RSRWORKBOOK u2018Where-used listu2019 for reports in workbooks
    Check the table RSRWORKBOOK
    Get the ID of the workbook from RSRREPDIR table
    Thanks and regards

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

  • 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

Maybe you are looking for