How to change the name of a user defined privilege in ACF2
search cancel

How to change the name of a user defined privilege in ACF2

book

Article ID: 12790

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

There is a user defined privilege defined in ACF2 as USERPRIV and it is desired to change the name to CAPRIV.

What needs to be done to change this name?  Does an IPL need to be done afterwards?

Resolution

All of the definitions for ACF2 are in the ACFFDR, including the logonid definitions. The usermod UM99901 will have the user defined definitions.  

For example, the old definition may be this:

@CFDE USERPRIV,lidflag,BIT,BITMAP=bitflag,LIST=ALL, X 

ALTER=SECURITY,FLAGS=NULL,GROUP=n,ZERO=YES

To change the name, edit the @CFDE macro to look like this:

@CFDE CAPRIV,lidflag,BIT,BITMAP=bitflag,LIST=ALL, X 

ALTER=SECURITY,FLAGS=NULL,GROUP=n,ZERO=YES

If you only change the label name from USERPRIV to CAPRIV, that will not effect the data on the database at all.  To re-apply the usermod, run member FDRJXB in the ACF2 sample JCL library, then issue: 

F LLA,REFRESH

at a console, followed by 

F ACF2,NEWMOD(ACFFDR)

 

 

Additional Information

For more information on the ACFFDR and other fields and macros, please review the Update the Field Definition Records (ACFFDR).