How to support regular expressions with File Watcher jobs

Document ID : KB000031701
Last Modified Date : 20/12/2018
Show Technical Document Details


Looking for a way to support regular expressions with File Watcher Jobs 


Regular expressions are supported with File Watcher jobs when the System Agent is at least at release R11.3 SP4 INCREMENTAL 1

For example on Linux, patch RO77796 or higher ( LNX-X86 - CA WA AGENT R11.3 SP4 INCREMENTAL 1 ) has to be installed

To activate this feature, new agentparm.txt setting (filemon.filename.r7regex=true) has been added to support regular expression characters.

Then you have to stop and restart the System Agent

Additional Information:

A typical File Watcher Job might be:

insert_job: TEST_FW1 job_type: FW

machine: machine1

owner: autosys

permission: gx,wx,mx

date_conditions: 0

description: "FW test with regular expressions"

alarm_if_fail: 1

watch_file: "/apps/corgl/corgl_cs1/cs1/data1/fic/???_C[0-9,A-L,N-Z][0-9,A-Z]_*"

watch_interval: 60

Note: This information applies to both UNIX and Windows agent installations.

Please Update This Required Field