Listgroup using IRRXUTIL



All about SAF, RACF, encryption, Firewall, Risk assessment and integrity concepts

Listgroup using IRRXUTIL

Postby LasseH » Tue Dec 28, 2021 11:16 pm

Hi all
Trying to get the "same" result from IRRXUTIL as this command provide
ADDRESS TSO "LISTGRP" profile

I'm not getting hold on if connected user is REVOKED

INFORMATION FOR GROUP foobar                                            
    SUPERIOR GROUP=supown      OWNER=rown     CREATED=21.148        
    INSTALLATION DATA=not used                      
    NO MODEL DATA SET                                                    
    TERMUACC                                                            
    NO SUBGROUPS                                                        
    USER(S)=      ACCESS=      ACCESS COUNT=      UNIVERSAL ACCESS=      
      S11111        USE           000000               NONE              
         [u]CONNECT ATTRIBUTES=REVOKED[/u]                                      
         REVOKE DATE=NOVEMBER 22, 2021    RESUME DATE=NONE              


Found this, but even Bruce uses TSO to get info
Name:    XLGRES                              
                                             
Author: Bruce Wells - brwells@us.ibm.com      
LasseH
 
Posts: 70
Joined: Mon Nov 08, 2010 2:51 pm
Has thanked: 7 times
Been thanked: 1 time

Re: Listgroup using IRRXUTIL

Postby Blackthorn » Fri Feb 11, 2022 9:49 pm

I'm not quite sure what you mean by "hold on" and you haven't shown what you have tried. But this will list all the users connected to a group, regardless of whether thwy are revoked -

a = irrxutil("EXTRACT","GROUP","group-name","P")
do count = 1 to p.base.guserid.0
say p.base.guserid.count
end
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times


Return to Mainframe Security