Customizing the audit facility for ZDT/Db2

ZDT/Db2 can write audit log records to either SMF or an audit log data set.

If auditing is not required, you should:

You can skip the customization described in the rest of this chapter.

Z Data Tools provides two different methods (HFM2POPT-controlled and SAF-controlled audit) for controlling whether audit records are written for ZDT/Db2. These are described in detail in Alternatives for controlling ZDT/Db2 auditing.

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

Table 1. Checklist for customizing ZDT/Db2 auditing. This table lists choices and decisions.
Audit customization choice Decision (Yes|No|Not applicable)
1. Control auditing using the HFM2POPT 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.

Once you have completed the checklist, use the table below to identify the customization that is required for each customization choice. Only complete the customization if your decision was "YES" in the checklist.

Table 2. Customization steps for audit customization choices. This table lists choices and related actions.
Customization choice Sections to complete
1. Control auditing using the HFM2POPT 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