Customizing the Z Data Tools audit facility for Base component

Z Data Tools can write audit log records to either SMF or an audit log data set.

If auditing is not required:

  • Set AUDITLOG=NO in the HFM0POPI macro specification of the HFM0POPT module. See AUDITLOG for more information.
  • Set SMFNO=0 in the HFM0POPI macro specification of the HFM0POPT module. See SMFNO for more information.
  • Skip the customization described in the rest of this chapter.

Z Data Tools provides two different methods (HFM0POPT-controlled and SAF-controlled auditing) for controlling whether audit records are written for Z Data Tools Base component. These are described in detail in Alternatives for controlling Z Data Tools Base auditing.

You should determine which of the two methods is appropriate for your site's requirements.

Use the checklist to determine the customization required for the Z Data Tools audit facility.

Table 1. Checklist for audit customization, Z Data Tools Base component. This table lists choices and decisions.

A two column table showing choices and the user's decision.

Audit customization choice Decision (Yes|No|Not applicable)
1. Control auditing using the HFM0POPT options module
2. Control auditing using SAF rules and a member in SYS1.PARMLIB
3. Control auditing using SAF rules, without any changes to SYS1.PARMLIB
4. Audit records are to be written to a data set
5. Audit records are to be written to SMF

For choices 1 to 3, you should answer YES for one choice only. Mark the other two choices as 'Not applicable'.

If you answer YES for choice 1, you can answer YES for one of choices 4 and 5. Mark the other choice as 'Not applicable'.

If you answer YES for choices 2 or 3, you can answer YES for one or both of choices 4 and 5. If you answer YES for both choices you are implementing dual-logging, which is only available with SAF-controlled auditing.

Table 2. Customization steps for audit customization choices. This table lists choices and related actions.

A two column table showing choices and the associated action.

Customization choice Sections to complete
1. Control auditing using the HFM0POPT options module
2. Control auditing using SAF rules and a member in SYS1.PARMLIB
3. Control auditing using SAF rules, without any changes to SYS1.PARMLIB
4. Audit records are to be written to a data set
5. Audit records are to be written to SMF