Looking for a way to support regular expressions with File Trigger Jobs
Regular expressions are supported with File Trigger 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.
To activate any new settings in the agentparm.txt file, you have to stop and restart the System Agent
A typical FT Job in CA WAAE might be:
insert_job: TEST_FT1 job_type: FT
description: "FT test with regular expressions"
(UNIX and Linux only) If a file name in a File Trigger job is specified with square brackets used regular expression characters, whether mixed with wildcard characters or not, the characters are not recognized as regular expression characters, resulting in a file mismatch. System Agent at Release 7 allowed square brackets to be interpreted as regular expression characters in addition to the wildcard characters “*” and “?”.
For example, a file name of *.[tT][xX][tT] will not match a file name of test.txt or text.TXT.
A new agentparm.txt setting (filemon.filename.r7regex=true) has been added to support regular expression characters.
When the following two settings are enabled, the agent emulates the Release 7 handling of these regular expression characters: