OS/400 Agent - File Event Support
As an administrator this document will help you apply best practices when using file events with an OS/400 Agent.
You must start OS/400 Agents v 9.00A or later as a multithreaded process to use the new file event. It requires that the agent's JOBD parameter ALWMLTTHD to be set to YES.
Important!The new file event is handled in threads which means that you can only use the following file systems:
- Root (/)
- QOpenSys
- User-defined
- QNTC
- QSYS.LIB
- Independent ASP QSYS.LIB
- QOPT
- Network File System
- QFileSvr.400
File Specification
IFS File System
IFS (Integrated File System) is a UNIX-based file system. IFS files must always be specified using an absolute path (from the root) and a final file name.
If the file specification includes a forward slash ( /) character, the agent assumes that an IFS file is affected.
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: