Unfortunately the SEARCH command only applies to the user executing the command. Returning the profiles that *you*, the executing user, have access to. I think what Vignesh is asking for is a list of the profiles for a given user when asking the question as an administrator.
Others have pointed out, you can use the IRRDBU00 unload and process the records yourself, however you need to write the logic: a) Start with the user, retrieve the list of Groups the user is connected to, add the user itself to the list of groups. b) Search the Access List entry records in Dataset class for any entry that matches any of the list you generated in (a) Beware, that you then have to figure the logic yourself if you also want to know what level of access - if the users is in two groups that have access to a specific profile, the highest level of access is the one that applies. If the userid itself appears in the access list, the level of access associated with that access list entry applies. Note we haven't figured UACC into the equation, nor conditional access, nor a number of other ways that users might access resources (i.e. administratively). This is why RACF management tools exist... You could ask the user to execute the SEARCH command themselves, or provide a small REXX wrapper around the SEARCH command for them. There might also be something useful in the Pentland Utilities on https://www.nigelpentland.co.uk/ Hope this helps, regards - Mike ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN