Hi Richard,
I'm sure there are more elegant ways to do this, but the following CARLa will generate PERMIT DELETE commands based on the direct permits of userIDs connected to group XXXXXXX, which you will need to change to your specific group name.
When you run this CARLa you can cut and paste the generated PERMIT commands and run them at your leisure:
n type=racf outlim=1 dd=ckr2pass nopage
sortlist "newlist type=racf_access nopage"
sortlist,
"select exists(id:pgmrname) access<>qualown proftype<>connect id=(,"
n type=racf dd=ckr2pass nopage
select class=user cggrpnm=XXXXXXX
sortlist key(0) | ","
n type=racf outlim=1 dd=ckr2pass nopage
sortlist ")"
sortlist 'summary "PERMIT " profile(0) "cl(" | class(0) |,
") delete id(" | id(0) | ")" count(nd)'
I hope that helps.
Regards, Mike
#SupportMigration#Support#ZSecurity