Page 1 of 1

Listgroup using IRRXUTIL

PostPosted: Tue Dec 28, 2021 11:16 pm
by LasseH
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      

Re: Listgroup using IRRXUTIL

PostPosted: Fri Feb 11, 2022 9:49 pm
by Blackthorn
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