Event-Based Scheduling

Topics:

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

DataMigrator supports event-based scheduling with the following:

  • CMRUN is a stand-alone program that initiates 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 code can initiate a flow.

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


iWay Software