Currently we are using the CA ACF2 DSNPOST user exit to WARN and LOG accesses to certain data sets. How can we change this to ALLOW and NOT LOG these accesses?

Document ID : KB000039320
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

Currently we are using the CA ACF2 DSNPOST user exit to WARN and LOG accesses to certain data sets.  How can we change this to ALLOW and NOT LOG these accesses?

 

Answer: 

The current DSNPOST exit return code is 36, which means to issue a warning message, allow the access, and log the access to SMF. 

 

To change this to allow the access and log it, specify return code 04, which means to grant immediate access, and do not log the access.  Note that loggings requested by the TRACE field in the logonid record or GSO records such as LOGPGM and BLPLOG cannot be overridden and will be logged (to SMF).

 

Additional Information:

The CA ACF2 for z/OS Systems Programmer Guide provides details on the ACF2 exits and the parameter lists used by these exits.  Chapter 7 describes the ACF2 user exits, and Chapter 5 details the parameter lists and mapping macros used by these exits.  For detailed explanations of the DSNPOST exit return codes, reference the ACSXP parameter list (in Chapter 5).