Controlling auditing of ZDT/CICS functions

You can use SAF to control whether ZDT/CICS writes audit log records for functions which access resources. Table 2 shows ZDT/CICS function codes which may be logged.

Example 1

You could write the following RACF® rules:

RDEL XFACILIT FILEM.AUDIT3.CICSAPLD.CTE.UPDATE.TS011
RDEF XFACILIT FILEM.AUDIT3.CICSAPLD.CTE.UPDATE.TS01 OWNER(XXXXXXXX) UACC(READ)2
PE FILEM.AUDIT3.CTE.UPDATE.CICSAPLD.TS01 CLASS(XFACILIT) ID(MAINT1) ACC(NONE)3
Explanation:
  1. Delete any existing XFACILIT rule.
  2. Define the XFACILIT rule to log all modifications to temporary storage queue TS01 using the ZDT/CICS temporary storage queue edit function (CTE). UACC(READ) allows all TSO user IDs to write audit log records (in the absence of any over-riding more specific rule).
  3. A specific rule for logonid MAINT1 to prevent audit log records being written.

Example 2

You could write the following RACF rules:

RDEL XFACILIT FILEM.AUDIT3.CICSAPLD.CDE.ALL.TD011
RDEF XFACILIT FILEM.AUDIT3.CICSAPLD.CDE.ALL.TD01 OWNER(XXXXXXXX) UACC(NONE)2
PE FILEM.AUDIT3.CICSAPLD.CDE.ALL.TD01 CLASS(XFACILIT) ID(SERVIC1) ACC(READ)3
Explanation:
  1. Delete any existing XFACILIT rule.
  2. Define the XFACILIT rule to log all modification and all records read for transient data queue TD01 using the ZDT/CICS transient data queue edit function (CDE). Uacc(NONE) specified that no TSO user IDs write audit log records (in the absence of any over-riding more specific rule).
  3. A specific rule for logonid SERVIC1 to write audit log records.

Example 3

You could write the following RACF rules:

RDEL XFACILIT FILEM.AUDIT3.CICSAPLD.CFP.FUNCTION.HFM.CICS.KSDS1
RDEF XFACILIT FILEM.AUDIT3.CICSAPLD.CFP.FUNCTION.HFM.CICS.KSDS
     OWNER(XXXXXXXX) UACC(READ)2
Explanation:
  1. Delete any existing XFACILIT rule.
  2. Define the XFACILIT rule to log function information when data set HFM.CICS.KSDS is printed using the ZDT/CICS file print utility (CFP). UACC(READ) allows all TSO user IDs to write audit log records (in the absence of any over-riding more specific rule).