IFS is an acronym for Integrated File System. It is a hierarchical file system available on IBM i that is very similar to a Unix file system.
The IFS can be accessed from
- a Green Screen using standard command interface, or Qshell command line
- a PC using iSeries Navigator or Windows networking shares through Netserver support
IBM i does not have a native CL command to display what jobs have a lock on an IFS file, like QSYS.LIB has with WRKOBJOCK. But there are several ways to discover this.
- Navigator for i has a graphical display of jobs locking a given IFS file.
- System API QP0LROR (Retrieve Object References).
- System API QP0FPTOS (Perform Miscellaneous File System Functions):
CALL QP0FPTOS PARM(*LSTOBJREF '/dir1/dir2/file.log' *FORMAT2) - creates spooled file. Requires *SERVICE
- Carsten Flensburg's WRKIFSLCK command.