For auditing purposes, an administrator may want to automatically produce a version report on a periodic basis. The following is an example WFL job that, once started, will run the INVENTORY utility every day at 7:00 AM:
BEGIN JOB INVENTORY/JOB; RUN *SYSTEM/INVENTORY ON DISK; START INVENTORY/JOB; STARTTIME = 07:00 ON + 1; END JOB
For this WFL job to work, ensure the following:
-
The file title of the job is INVENTORY/JOB under the usercode you wish to start it from.
-
The usercode has the appropriate privileges to run the INVENTORY utility
-
The default family (either the DPFILES DL family or Halt/Load unit) has adequate free space.
See the Running a Job on a Regular Basis section in the WFL Made Simple manual for more tips.