HFM1POPT-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 HFM1POPI macro statement and the SMFNO parameter on the HFM0POPI macro statement.

You use the IMSAUDLG parameter to specify whether or not auditing is enforced for ZDT/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 ZDT/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 ZDT/IMS records an audit trail by means of the Audit Trail exit in the ZDT/IMS security exit, HFM1SXT. 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 ZDT/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 HFM1FTAD found in HFM.SHFMSLIB. 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 Z Data Tools Users Guide and Reference. For more information, see IMSAUDLG.
Note: You do not use the AUDITLOG option in HFM0POPT to determine whether or not to produce an audit trail in ZDT/IMS. The AUDITLOG option has no effect in ZDT/IMS.