file Wathcher job not picking rihgt file while execution.

All questions about Control-M jobs definitions
Post Reply
User avatar
SKSKD
Nouveau
Nouveau
Posts: 9
Joined: 12 Aug 2013 12:00

file Wathcher job not picking rihgt file while execution.

Post by SKSKD » 27 Apr 2014 10:05

Hi,
I am using ver 7 and my file watcher some time working fine and most of the time not fine as it picks any old file

Requirement.

Execution time between 1 AM to 6 am
Need to check the file ABC1234.txt_Log.txt.Archive
here in file 1234 is numeric value and changing , but rest are constant.
File size is constant 1404 bytes

Job next successor job need to execute only once the new order date 1st file arrived (NDP at 0000 hrs).

My set up is like below but it not picking up the right file.

Mode=Create
Min detected size =0
Interval between file searches =300 sec
Interval between filesize comparison iterations =10 sec
Number of iterations =3
Monitor filesize and file age when wildcard is used =Y
Time limit for the process =0 min
Minimal file age =NO_MIN_AGE
Maximal file age =0y0d0h15Min

Thanks to give best on this.

User avatar
jCarlos
Nouveau
Nouveau
Posts: 36
Joined: 19 Jun 2013 12:00

Post by jCarlos » 27 Apr 2014 4:00

hi SK, why don't you use the required (suggested) mask?

example



Mode=Create
Min detected size =0
Interval between file searches =300 sec
Interval between filesize comparison iterations =10 sec
Number of iterations =3
Monitor filesize and file age when wildcard is used =Y
Time limit for the process =0 min
Minimal file age =0000Y0000M0000D0000H0000Min
Maximal file age =0000Y0000M0000D0000H0015Min


i can't test it right now, can you test and tell me please?

User avatar
ThePirate
Nouveau
Nouveau
Posts: 61
Joined: 04 Feb 2008 12:00
Location: Cleveland, OH

Post by ThePirate » 19 May 2014 4:12

I use NO_MIN_AGE & 12H so I would assume 15M would work for MAX FILE AGE.

Post Reply