Resolution
Goal: How can I report on the IFS using PSAUDIT?
Goal: How can I report on the IFS using the green screen?
Goal: Can I report on the IFS using your product without having to use SCM or VM?
Fact: NetIQ Security Solutions for iSeries 8.0
Fact: PSAudit
Fact: System Auditing and Reporting
Fix
Our product (v8.0 and above) comes shipped with some programs which can collect IFS related data.
Program SAR0739B in library PSAUDIT can be used, the program routes it's output to file SAR0739F in library PSAUDIT.
The first parameter of the program is the IFS path and the second parameter is the path depth (how many subdirectories down does the program collect?)
For example: To run the program interactively, use the following commands:
ADDLIBLE PSAUDIT
CALL PGM(PSAUDIT/SAR0739B) PARM('/tmp/' '1')
To run the program in batch, use the following command:
SBMJOB CMD(CALL PGM(PSCOMMON/COM1020B) PARM('/tmp/' '1')) JOB(IFSLOAD) INLLIBL(PSAUDIT)
After the program/submitted job is done, you can query the SAR0739F file for the requested IFS information.
Note: Running the program for the root ('/') path with a path depth value greater than '1' will increase the run time.