FMN1POPT-controlled audit logging
This was the original method of controlling auditing and, as such, only provides limited functionality.
With this method, you control audit logging by specifying the required values for the IMSAUDLG parameter on the FMN1POPI macro statement and the SMFNO parameter on the FMN0POPI macro statement.
You use the IMSAUDLG parameter to specify whether or not auditing is enforced for FM/IMS Edit and, if it is, whether or not an audit report is generated at the end of the Edit session. For information on how to code the IMSAUDLG parameter, see IMSAUDLG.
You use the SMFNO to specify whether the audit records are written to SMF or an audit log data set, and, if they are written to SMF, the SMF record type. For information on how to code the SMFNO parameter, see SMFNO.
If auditing of an Edit session is not enforced, users can still get FM/IMS to create an audit trail of their updates, by selecting the Create audit trail option on the Edit Entry panel.
You can further customize how FM/IMS records an audit trail by means of the Audit Trail exit in the FM/IMS security exit, FMN1SXT. For example, using this exit you can:
- Force the creation of an audit trail for a certain database or group of databases or for a certain user or group of users, or both.
- Override the standard audit trail data set name that is constructed by FM/IMS.
- Override Create audit trail as set by your users.
- Force the use of SMF recording for the audit trail instead of using an audit trail data set.
- Force audit logging during Edit and at the conclusion of the Edit session submit an audit report job to report on the changes. The job submitted is determined by skeleton member FMN1FTAD found in FMN.SFMNSLIB. Customize the job card and JCL to specify the reporting options you require. For changing the audit report options in the skeleton see "AUD (Print Audit Trail Report)" in the File Manager Users Guide and Reference. For more information, see IMSAUDLG.