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?

book

Article ID: 39320

calendar_today

Updated On:

Products

CA ACF2 CA ACF2 - DB2 Option CA ACF2 for zVM CA ACF2 - z/OS CA ACF2 - MISC

Issue/Introduction

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).

 

Environment

Release:
Component: ACF2MS