Previous Topic: Application ParametersNext Topic: z/OS Data Set Trigger Events


File Trigger Events

You can continuously trigger workload based on file activity. For example, a File Trigger Event can monitor the creation of a file. Whenever the file is created, the server triggers the Event, which runs an Application to process the file. If the file being monitored is updated after a previous trigger, the Event will be triggered again.

Note: To use File Trigger Events, your system requires CA WA Agent for UNIX, Linux, or Windows.

Some usage scenarios of Event-level file triggers include the following:

File Trigger Events monitor file activity using a polling interval, which is every 30 seconds by default. File Trigger Events do not detect changes that cancel each other out during the polling interval. For example, if the file is created and deleted during the polling interval, the trigger does not occur. Because the file did not exist when the directory was polled, the Event does not detect the file creation and deletion.

Note: The agent administrator can change the number of seconds between polls by configuring the filemonplugin.sleepperiod parameter in the agentparm.txt file. For more information about the filemonplugin.sleepperiod parameter, see the agent Implementation Guide for your operating system.

Example: Comparison of Event-Level and Job-Level File Triggers

Suppose that an Application requires a file to be created before it can run each day. If the file is not created by a cutoff time, the Application should not run. You can use the following approaches for the workload:

Note: You can trigger workload based on file creation only. For other scenarios, you can use the Date-Time/Manual Event trigger with the File Trigger workload object.

More information:

Trigger Workload When a File is Created