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?
search cancel

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

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

Issue/Introduction

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?

 

 

Environment

Release:
Component: ACF2MS

Resolution

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