Skip Headers

Oracle® Business Intelligence Discoverer Plus User's Guide
10g Release 2 (10.1.2.0.0)
Part No. B13915-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Using scheduled workbooks

This section describes how to improve productivity using Discoverer's scheduling facilities, and includes the following topics:

What are scheduled workbooks?

A scheduled workbook is a read-only copy of a workbook that Discoverer processes at a particular time and frequency. For example, you might want to process worksheets in a workbook called Monthly Sales Report at midnight on the first day of each month.

You typically use scheduled workbooks to produce regular reports or to produce complex reports that must be processed at off-peak times.

Each time a scheduled workbook is processed (or run), Discoverer produces a scheduled workbook results set. A scheduled workbook results set is a version (or snapshot) of the source workbook made at a particular time. You can schedule a whole workbook or particular worksheets in a workbook. For example, if you choose to process Worksheet A and Worksheet B in a workbook, the scheduled workbook results set will contain a copy of worksheet A and a copy of worksheet B.

In the example below, Discoverer processes the Sales Report workbook once per month, which produces a set of scheduled workbook results each month.

Figure 22-1 Scheduling a workbook in Discoverer

Description of sc_dg2.gif follows
Description of the illustration sc_dg2.gif

When you create a scheduled workbook, Discoverer makes a copy of the workbook that you schedule and processes this copy. If you update the original workbook, you need to create a new scheduled workbook to implement the updates. For example, you create a scheduled workbook to process Workbook 1 once per month. Discoverer takes a copy of Workbook 1 and processes it once per month. If you update Workbook 1 (e.g. add an item to a worksheet) you need to create a new scheduled workbook to process Workbook 1.

Once Discoverer processes a workbook, you can use the scheduled workbook results sets produced just like an ordinary Discoverer workbook. For example, you can:

  • open scheduled workbook results sets in Discoverer Plus Relational and Discoverer Viewer

  • print and export scheduled workbook results sets

  • save scheduled workbook results sets in the database with a new workbook name

  • share scheduled workbook results sets with other Discoverer users

    Note: If you share scheduled workbook results sets with other Discoverer users, each user can see all of the data in the results set, regardless of the database access privileges they have been granted. For more information about sharing and security, see "About sharing workbooks and security".

You manage scheduled workbooks using the Scheduling Manager (choose File | Scheduling Manager to display the "Scheduling Manager dialog").

You do not have to running Discoverer for Discoverer to process scheduled workbooks. For more information about how workbooks are processed, see "About how scheduled workbooks are processed".

Notes

  •  You must have the required privileges to schedule workbooks. Contact the Discoverer manager for more details.

  • If you share a workbook with a Discoverer user and then create a scheduled workbook based on that workbook, you need to explicitly share the scheduled workbook with that user. For example, you create a workbook called Workbook 1 and share Workbook 1 with Discoverer user A. If you create a scheduled workbook based on Workbook 1 that you want Discoverer user A to access, you must share the scheduled workbook with Discoverer user A.

When to use scheduled workbooks

Typically you schedule workbooks in any of the following circumstances:

  • If a workbook will take a long time to process. Scheduling a workbook to be processed at off-peak times avoids overburdening the server during peak times.

  • If you want to archive or produce a snapshot of data at specific points in time.

  • If you process a large or complex workbook or worksheet that exceeds the time limit set by the Discoverer manager. When this happens, a schedule option is displayed informing you that the worksheet query time exceeds the time limit. You can then click the Schedule button and schedule the workbook to process the workbook at off-peak times that are not restricted by the time limit.

  • If you want to process a workbook at regular intervals (e.g. a weekly report of sales figures).

  • If the Discoverer manager has specified that you can only open scheduled workbooks results sets (i.e. you are not allowed to open ordinary workbooks).

  • If you want to share workbooks with Discoverer users without those Discoverer users having to have explicit database access privileges to the data. For more information about sharing and security, see "About sharing workbooks and security".

An example of using a scheduled workbook

In this example, you want to process a workbook called Sales Report once per week at 1.00 A.M. You want to keep all scheduled workbook results sets so that Discoverer users can access reports for any week.

In the Schedule Wizard, you specify the following:

  • In the When do you want to schedule this workbook? field, you specify the date on which you want to process the workbook for the first time. In the time area of the field, you specify 1.00 AM.

  • In the How often do you want to repeat this schedule? field, you specify 1 and Weekly in the Repeat every fields to specify once per week.

  • In the Do you want to keep all versions of results? field, you select the Yes, keep all results check box.

The figure below shows how you use the Schedule Wizard to schedule a workbook to be processed once per week at 1.00 A.M, and keep all scheduled workbook results.

Figure 22-2 Scheduling a workbook in Discoverer

Description of sw2.gif follows
Description of the illustration sw2.gif

The figure below shows how to use the "Open Workbook from Database dialog" dialog to open a scheduled workbook results set.

Figure 22-3 Opening scheduled workbooks

Description of sc_dg1.gif follows
Description of the illustration sc_dg1.gif

About accessing scheduled workbook results sets

Scheduled workbook results sets can be opened in Discoverer Plus Relational or Discoverer Viewer. You can open scheduled workbook results sets at any time when connected to Discoverer.

Hint: When you connect to Discoverer, Discoverer can inform you when scheduled workbook results sets have been processed and are ready to open. To enable this automatic alert, make sure that the Don't show the new results window after initial connection check box is cleared on the "Options dialog: General tab".

About how scheduled workbooks are processed

Discoverer processes scheduled workbooks as follows:

  • Once workbooks are scheduled, the workbook processing is done automatically in the database.

  • You do not need to have Discoverer Plus Relational running or connected to process scheduled workbooks.

  • Scheduled workbook results sets are saved in the database and are available when you start Discoverer.

  • Discoverer does not display non-aggregable values for scheduled workbooks (i.e. Discoverer processes scheduled workbooks as if you selected the Show <Non-aggregable label>, the "values that cannot be aggregated as" option on the "Worksheet Properties dialog: Aggregation tab"). For more information about setting worksheet properties, see "About choosing aggregation options".

How to schedule workbooks

You schedule a Discoverer workbook when you want Discoverer to process a workbook at a particular time and frequency (e.g. weekly). For example, you might want to process a workbook called Monthly Sales Report at midnight on the first day of each month (because that is when your computer system has spare capacity).

Note: You must have the required privileges to schedule workbooks. Contact the Discoverer manager for more details.

To schedule a workbook:

  1. Choose Tools | Manage Schedules to display the "Scheduling Manager dialog".

    Description of sw3.gif follows
    Description of the illustration sw3.gif

  2. Click Schedule to display the "Select Workbook from Database dialog", which displays a list of workbooks to which you have access. Description of sw10.gif follows
    Description of the illustration sw10.gif

  3. Select the workbook that you want to schedule in the Workbooks list and click Select to display the "Schedule Wizard dialog: General tab". Description of sw1.gif follows
    Description of the illustration sw1.gif

    Note: If you want to process the currently opened workbook, you can also choose File | Schedule to display the "Schedule Wizard dialog". You can schedule the currently opened workbook even if it is not saved in the database.

  4. Use the "Schedule Wizard dialog: General tab" to define a name and description for the scheduled workbook, and specify which worksheets you want to process.

  5. If parameters are required for the worksheets that you have selected, use the "Schedule Wizard dialog: Parameter Values page" to specify values for parameters.

    Description of sw9.gif follows
    Description of the illustration sw9.gif

  6. Use the "Schedule Wizard dialog: Schedule tab" to specify when to process the workbook and how frequently it is processed.

    Description of sw2.gif follows
    Description of the illustration sw2.gif

    Hint: Click the calendar icon to the right of the When do you want to schedule this workbook? field to specify a date using the graphical "Calendar dialog".

  7. Click Finish to create the scheduled workbook.

    Discoverer will process the workbook at the specified time and frequency.

    Each time the workbook is processed, Discoverer creates a new scheduled workbook results set. To open a scheduled workbook results set, choose File | Open to display the "Open Workbook from Database dialog" and look for workbooks with a clock icon in the workbooks list. For more information, see "How to open workbooks".

Notes

  • If you want to publish scheduled workbook results sets to other users, you must share the scheduled workbook (for more information, see "About sharing workbooks").

  • To monitor the progress of scheduled workbooks, choose Tools | Manage Schedules to use the "Scheduling Manager dialog".

How to edit scheduled workbook

You edit a scheduled workbook when you want to change the instruction to process a workbook. For example, you might want to change the frequency of a scheduled workbook from weekly to monthly.

You cannot edit the read-only copy of a workbook that Discoverer processes.

Note: Changing the instruction does not affect the Discoverer workbook that is being processed.

To edit a scheduled workbook:

  1. Choose Tools | Manage Schedules to display the "Scheduling Manager dialog". Description of sw3.gif follows
    Description of the illustration sw3.gif

  2. Select the scheduled workbook that you want to edit in the Scheduled Workbook list.

  3. Click Edit to display the "Schedule Wizard dialog: General tab".

    Description of sw4.gif follows
    Description of the illustration sw4.gif

  4. (optional) Use the "Schedule Wizard dialog: General tab" to change the description of the scheduled workbook.

  5. If parameters are required for the worksheets that you specify, use the "Schedule Wizard dialog: Parameter Values page" Values tab page to specify values for parameters.

  6. Use the "Schedule Wizard dialog: Schedule tab" to change the instruction to process the workbook (e.g. change the time or frequency).

  7. Click OK to save changes to the scheduled workbook.

    Hint: To monitor the progress of scheduled workbooks, choose Tools | Manage Schedules to use the "Scheduling Manager dialog".

How to copy a scheduled workbook

You copy a scheduled workbook when you want to quickly create a new instruction to process a workbook based on an existing scheduled workbook. For example, if you want to process the same workbook and worksheets as an existing scheduled workbook.

To copy a scheduled workbook:

  1. Choose File | Scheduling Manager to display the "Scheduling Manager dialog". Description of sw3.gif follows
    Description of the illustration sw3.gif

  2. Select the scheduled workbook that you want to copy in the Scheduled Workbooks list.

  3. Click Copy to display the "Schedule Wizard dialog: General tab".

    Description of sw6.gif follows
    Description of the illustration sw6.gif

  4. Use the "Schedule Wizard dialog: General tab" page to change the default name for the scheduled workbook.

  5. If parameters are required for the worksheets that you specify, use the "Copy Scheduled Workbook dialog: Parameter Values tab" to specify values for parameters.

    Description of sw9.gif follows
    Description of the illustration sw9.gif

  6. Use the "Schedule Wizard dialog: Schedule tab" to change the instruction to process the workbook (e.g. change the time or frequency).

  7. Click OK to save the scheduled workbook.

    The new scheduled workbook is displayed in the "Scheduling Manager dialog".

How to unschedule a scheduled workbook

You unschedule a scheduled workbook to stop the scheduled workbook but keep its scheduled workbook results sets. For example, you might want to stop a scheduled workbook that is processed monthly, but keep monthly reports that have been produced.

When you unschedule a scheduled workbook, you update the instruction to process a particular Discoverer workbook. You do not delete the Discoverer workbook that is being processed (for more information, see "What are scheduled workbooks?").

Note: If you want to stop a scheduled workbook and remove its scheduled workbook results, use the Delete button (for more information, see "How to delete scheduled workbooks and scheduled workbook results sets").

When you unschedule a scheduled workbook, you do the following:

  • If the scheduled workbook has not yet been processed, you delete the instruction to process the workbook and the read-only copy of the workbook that Discoverer processes. The scheduled workbook is removed from the list of scheduled workbooks in the Scheduling Manager dialog.

  • If the scheduled workbook has been processed, you stop the instruction to process the workbook in the future but you do not delete the scheduled workbook. The scheduled workbook remains in the list of scheduled workbook in the Scheduling Manager dialog, with the Status column set to 'Unscheduled'. You keep the scheduled workbook results sets that have been produced.

To unschedule a scheduled workbook:

  1. Choose File | Scheduling Manager to display the "Scheduling Manager dialog".

    Description of sw3.gif follows
    Description of the illustration sw3.gif

  2. Select the scheduled workbook that you want to unschedule in the Scheduled Workbooks list.

  3. Click Unschedule, then click Yes at the Confirm Unschedule dialog.

    Note: If the Unscheduled button is grayed out, the scheduled workbook is a single run workbook that has been processed (i.e. the value in the Status column is Report Ready). Or, it has been unscheduled already (i.e. the value in the Status column is Unscheduled).

  4. Click Close to close the Scheduling Manager dialog.

How to delete scheduled workbooks and scheduled workbook results sets

You delete a scheduled workbook to stop the scheduled workbook and remove its scheduled workbook results sets. For example, you might want to stop a scheduled workbook that is processed monthly, and remove monthly reports that have been produced.

You delete scheduled workbook results sets when you no longer need those results generated by scheduled workbooks. For example, you might have monthly reports that have accumulated over the previous year that you know you will never use again.

When you delete a scheduled workbook, you remove the instruction to process a particular Discoverer workbook. You do not delete the Discoverer workbook that is being processed (for more information, see "What are scheduled workbooks?").

Note: If you want to stop a scheduled workbook but keep its scheduled workbook results, use the Unschedule option (for more information, see "How to unschedule a scheduled workbook").

To delete a scheduled workbook or scheduled workbook results set:

  1. Choose File | Scheduling Manager to display the "Scheduling Manager dialog".

    Description of sw3b.gif follows
    Description of the illustration sw3b.gif

  2. To delete a scheduled workbook:

    • Select a scheduled workbook in the Scheduled Workbooks and click Delete.

    • Click Yes at the confirmation dialog to remove the scheduled workbook and its scheduled workbook results sets.

  3. To delete a scheduled workbook results set:

    • Select a scheduled workbook in the Scheduled Workbooks list and click the + symbol to expand the list of scheduled workbook results sets.

    • Select one or more scheduled workbook results sets.

      Note: You can select more than one scheduled workbook results set by pressing the Ctrl key and clicking another scheduled workbook results set.

    • Click Yes at the confirmation dialog to remove the scheduled workbook results sets.

  4. Click Close to close the Scheduling Manager dialog.

The specified scheduled workbooks and/or results sets are removed from the database.