Event-Based Scheduling

You can perform event-based scheduling, which executes a flow from an external application. It can be useful when you want a remote application to run a flow. For example, you might have an application that requires a flow to run. You can add a button to your application, which sends a request to the WebFOCUS Reporting Server to start a flow.

Event-based scheduling can also be useful in a job that updates data. After the update, a message can be sent to the Server, instructing it to run a flow. For example, when running a batch job on USS, you can make the final step sending a message to the server telling it to execute the flow. In this instance, the flow would access the latest data.

ibi Data Migrator supports event-based scheduling with the following:

  • CMRUN is a stand-alone program that initiates scheduled or immediate server jobs, including those jobs that initiate flows. It is available on all supported platforms. Sample scripts (for example, shell, batch, DCL, or JCL depending on your platform) are provided for setting the environment and submitting the flow.
  • A FOCUS client using specific FOCUS commands can initiate scheduled or immediate server jobs, including those jobs that initiate flows.

Note: CMRUN is the preferred method, and should be used whenever possible.