If you're struggling with repeated fields like the connect group names, or access lists, you can look at newlist type=racf_access. This takes the connect group name (from a user profile), or the access list id (from a DATASET or General resource profile), and creates a separate entry for each. It allows you to use the SELECT command to select only specific connects groups for users, without the hassle of SUBSELECT.
newlist type=racf_access
select class=group profile=dbx*
sortlist id("Userid") profile("Connect")
To find connect groups, you select CLASS=GROUP and the user ID pops up in the field ID. But how can you find out if a user ID has a TSO segment?
RACF_ACCESS can use the lookup operator to find attributes like the name of the user, the installation data of a group, but also fields from TSO segment. No, you cannot check if a segment exists, but you must check a field in the segment. Find a field in the TSO segment that always has a value... TMSIZE, for example. And remember, the user ID is called ID:
newlist type=racf_access
select class=group profile=dbx* exists(id:tmsize)
sortlist id("Userid") profile("Connect")
Note: Changing the font to fixed pitch can be done by selecting (a few) lines, then marking them out as code by clicking {;} or by clicking on the ... button and selecting Preformatted instead of Paragraph.
------------------------------
Rob van Hoboken
------------------------------