How to remove logonid from ACF2 X-ROL record.
search cancel

How to remove logonid from ACF2 X-ROL record.

book

Article ID: 233956

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

Performing cleanup and need to remove logonids from ACF2 for z/OS X-ROL record. 


A list of the ROLE shows: 

sysid / rolename LAST CHANGED BY xxx ON 01/15/22-14:00
                     INCLUDE(logonid1 logonid2 logonid3 logonid4 logonid5) ROLE


What is the ACF2 command to remove entries from the X-ROLE record?

Environment

Release : 16.0
Component : ACF2 for z/OS

Resolution

The following ACF2 syntax was recommended as an example:

//STEP01   EXEC PGM=ACFBATCH                    
//SYSPRINT DD SYSOUT=*                          
//SYSIN    DD *                                 
 SET X(ROL)                                     
 LIST rolename                                  
 CHANGE rolename ROLE INCLUDE(logonid2 logonid3) DEL          
 F ACF2,NEWXREF,TYPE(ROL)                       
/*