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