There are some peculiarities that must be considered when you use file events with an OS/400 agent.
You must start OS/400 agents of version 9.00A or later as a multi-threaded process in order to use the newfile event. Doing so requires the agent's JOBD parameter ALWMLTTHD to be set to "YES".
The new file event is handled in threads which means that you can only use the following file systems:
IFS file system
IFS (Integrated File System) is a UNIX-based file system. IFS files must always be specified with an absolute path (starting from the root) and a final file name.
If the file specification includes a / character, the agent assumes that an IFS file is concerned.
For example:
/home/AE/test.txt
The wildcard characters * and ? can be used to process partially qualified file events. They can be used as necessary within the path and/or file name.
In an individual file event, the path and file name are not case-sensitive. Therefore, the following two specifications are identical:
/home/AbC.txt
/HOME/ABC.txt
Wildcard file event paths are case-sensitive. The following two specifications differ from each other:
/home/AB*
/home/ab*
(Note: An exception is QOpenSys, here wildcard file event paths are not case-sensitive.)
See also: