Previous PageTable Of ContentsNext Page

    SAFEGAUD Utility








Use the SAFEGAUD Utility to retrieve the spool files containing SafeSFS audit data. The SAFEGAUD Utility should be run immediately after the SafeSFS AUDIT CLOSE command is used to close all SafeSFS audit files and spool them to the issuer's reader. SAFEGAUD retrieves the audit data from the reader, formats, sorts by date/time, merges, and writes it to the issuers A disk. SAFEGAUD creates two output files. The SAFESFS SFSAUDIT file contains audit data for SFS requests that were audited. The SAFESFS CMDAUDIT file contains audit data for SafeSFS commands that were audited.

SAFEGAUD may optionally call a user exit that may be used to modify or filter the raw audit data before it is processed. SAFEGAUD checks for a Rexx Exec called SAFAUDUE SAFEXEC on an accessed disk or directory. If one is found, it is called by SAFEGAUD for each audit record. See Chapter 9 SafeSFS User Exits for more information about the SAFAUDUE user exit.


The user executing this utility must have access to the SAFEGAUD EXEC on the SafeSFS 192 mdisk, and must also be a SafeSFS Administrator..



If SafeSFS audit files already exist on the issuer's A disk, and REPLACE is specified, the audit files will be overwritten. If REPLACE is not specified, and audit files already exist, SAFEGAUD will end without processing SafeSFS audit data.



If NOPURGE is specified the input SafeSFS audit data files will remain in the issuer's reader. If NOPURGE is NOT specified the reader files will be purged.

Return Codes

Return Code



Completed successfully.


Abnormal termination.

Usage Notes

  1. SAFEGAUD assumes that the SafeSFS AUDIT CLOSE command has been run, and that the virtual reader of the issuer contains SafeSFS Audit spool files. After running the AUDIT CLOSE command, there will be one spool file for each active SFS server that has SafeSFS auditing turned on. There will also be one spool file for the SAFESFS server containing SafeSFS command audit data.

  2. SAFEGAUD purges each reader file after reading it unless NOPURGE is specified.

Previous PageTable Of ContentsNext Page