How can I report on the IFS using the green screen?
Can I report on the IFS using your product without having to use SCM or VM?
Version 8.0 and above comes shipped with 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?)
CALL PGM(PSAUDIT/SAR0739B) PARM('/tmp/' '1')
To submit this program using the following statement:
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 in question for the '/' path with a high amount of path depth might take a very long time depending on your environment.