Listgroup using IRRXUTIL

All about SAF, RACF, encryption, Firewall, Risk assessment and integrity concepts
LasseH
Posts: 70
Joined: Mon Nov 08, 2010 2:51 pm
Skillset: ISPF/REXX
Referer: Internet

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

Code: Select all

ADDRESS TSO "LISTGRP" profile

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

Code: Select all

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

Code: Select all

Name:    XLGRES                              
                                             
Author: Bruce Wells - brwells@us.ibm.com      

Blackthorn
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Skillset: JCL, TWS, IBM Utilities
Referer: Found on web

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