Example to use FILE_TRIGGER with CONTINUOUS(*)
search cancel

Example to use FILE_TRIGGER with CONTINUOUS(*)

book

Article ID: 54431

calendar_today

Updated On:

Products

Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Description:

We need to implement FILE_TRIGGER with CONTINUOUS(*), but don't know how to have FILE_TRIGGER in the same ESP Proc as the agent workloads.

Solution:

Using CONTINUOUS(*) allows you to avoid defining an alert. Also adding IF logic can make FILE_TRIGGER and agent workload stay in same ESP Proc, even though different APPL generations will be created.

Here is an example
IF %MNJOB NE '' THEN
DO
APPL AGTJOBS /* define all the agent JOBs that should run after the FILE_TRIGGER fires */

....
ENDDO
ELSE
DO
APPL FILETR /* define the FILE_TRIGGER with CONTINUOUS(*) */
...
ENDDO

Environment

Release: WKLASG00200-5.5-Workload Automation-Service Governor-EE
Component: