When coding NOCHANGE parameter on a File Trigger, will the time be reset if a second matching file is created?
search cancel

When coding NOCHANGE parameter on a File Trigger, will the time be reset if a second matching file is created?

book

Article ID: 55401

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Will the time be reset if a second matching file is created when coding NOCHANGE parameter?

Environment

Component: ESP WORKLOAD AUTOMATION
Release:   12.0

Resolution

Invoke Application:  (the time is not be changed using NOCHANGE)

If another file satisfying the trigger criteria is updated during the NOCHANGE interval, the trigger waits until the trigger interval lapses on the first file before monitoring the second file for the duration of the NOCHANGE interval.

APPL TEST
FILE_TRIGGER CHOCO1.FILETRG     
        RUN ANY
        AGENT agent
        FILENAME '<path>\filename*.*' CREATE NOCHANGE(5)
ENDJOB
Created a file called filename1 in <path> at 2:32
Created a file called filename2 in <path> at 2:33
Created a file called filename3 in <path> at 2:34
Created a file called filename4 in <path> at 2:35
Created a file called filename5 in <path> at 2:37
File_Trigger CHOCO1 completed at 14:38.
MgrMsg: agent CHOCO1.FILETRG/TEST.1/MAIN STATE COMPLETE Filename(<path>\filename) SetEnd
        Status(File Created, NoChange 5 min.) Plugin(FileMonPlugin) User(userid) Host(hostname)