For those that might be interested, I have made available the package called RACF Snoop on my website here, https://rsclweb.com/ . This package allows you to see the details of RACF environments in running address spaces. The program is rather old (> 20 years) and needs a few tweaks. However, I still find it useful, and you may do as well. What is does do is allow you to see the RACF user id in nearly every address space on a system. I have never tested this on a TSS or ACF2 system. I would not be surprised if it broke in that circumstance. Happy Christmas everyone.
Lennie Dymoke-Bradshaw https://rsclweb.com ‘Dance like no one is watching. Encrypt like everyone is.’ -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Lennie Dymoke-Bradshaw Sent: 30 November 2021 19:56 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Display user for started tasks started under Master subsystem Rob, Just looked at your code. Rather more sophisticated than mine 😊. Lennie -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Lennie Dymoke-Bradshaw Sent: 30 November 2021 18:54 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Display user for started tasks started under Master subsystem Rob, Thanks. I actually have some code of my own that does that. I wrote it about 20 years back. It performs analysis of the RACF environment of multiple address spaces and presents the results using ISPF. However, I doubt my current client would allow me to install it. That's why I was looking for something that was a "standard capability". Lennie Dymoke-Bradshaw https://rsclweb.com ‘Dance like no one is watching. Encrypt like everyone is.’ -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Rob Scott Sent: 30 November 2021 16:07 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Display user for started tasks started under Master subsystem Lennie Yeah – I meant ASXBSENV ☹ Funnily enough, I presented some sample cross-memory server code at the last meat-space Share in Fort Worth that included the ability to dump out (via TSO command) the ACEE pointed to by ASXBSENV for a nominated foreign address space. The code is in GitHub and it would not take much to add the TCBSENV processing to it. Here is the link : https://github.com/rscott-rocket/mxe Have at it Rob From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Lennie Dymoke-Bradshaw Sent: 30 November 2021 12:08 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Display user for started tasks started under Master subsystem EXTERNAL EMAIL Rob, I was hoping you would pick this up. Thanks for that insight. It always helps to see the source of information that is presented. Maybe I can produce a small TSO utility to find this data. But it looks like it might have to a tiny bit APF authorised to get to the necessary information. (I assume you meant to type ASXBSENV rather than ASSBSENV. I think the ASXBUSER field would probably be sufficient.) Lennie -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Rob Scott Sent: 30 November 2021 09:17 To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: Display user for started tasks started under Master subsystem SDSF uses IAZXJSAB to extract the userid from the JSAB control block - hence nothing shown if address space has started SUB=MSTR and has not requested a JES JOBID (SSI-20). As far as I am aware, there is no definitive field in common storage that contains the userid associated with an address space regardless of how the job entered the system. In a dump, there might be some mileage in examining OUCBUSRD if there is no JSAB, or sniff the ACEE from ASSBSENV (or even run the TCB tree and process any non-zero TCBSENVs). Rob Scott Rocket Software From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Lennie Dymoke-Bradshaw Sent: 29 November 2021 16:37 To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: Display user for started tasks started under Master subsystem EXTERNAL EMAIL JES2 runs under a user id. The RACF address space runs under a user id. In fact nearly all work after the initialisation of SAF (which happens very soon after MSI) will run under a user id. Even initiators start work under a user id (although they subsequently lose that id). In addition, any started task that is submitted using SUB=MSTR, (such as LLA, VLF ICSF and others) will start under a user id. Yet all these address spaces do NOT show a user id in SDSF DA or using the MVS DISPLAY command. Lennie Dymoke-Bradshaw https://rsclweb.com<https://rsclweb.com><https://rsclweb.com<https://rsclweb.com>> 'Dance like no one is watching. Encrypt like everyone is.' -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>>> On Behalf Of Seymour J Metz Sent: 29 November 2021 16:28 To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>> Subject: Re: Display user for started tasks started under Master subsystem There are some tasks that you need to start when there is no ESM active. What user id would you expect for, e.g., JES2, RACF? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3<http://mason.gmu.edu/~smetz3><http://mason.gmu.edu/~smetz3<http://mason.gmu.edu/~smetz3>> ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Lennie Dymoke-Bradshaw [0000032fff1be9b4-dmarc-requ...@listserv.ua.edu] Sent: Monday, November 29, 2021 9:27 AM To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU%3cmailto:IBM-MAIN@LISTSERV.UA.EDU>> Subject: Display user for started tasks started under Master subsystem I am looking at an SDSF DA display showing active address spaces. The column 'Owner' shows the user id associated with the address space. However, for those address spaces which are subsystems or which are started under the master subsystem, the user id is not shown. If I display address spaces using the MVS display command D A,<name> I get a similar result. The user id of the address space is not shown. While I am aware, this has been the case for some time, I am confused as to why this is. For SDSF I had thought it was simply that the id was extracted from JES2 and of course the subsystems have no such JES2 control blocks. But the MVS display command does not have that restriction. Does anyone have any insight? Does anyone know how to determine the user id of these address spaces using commands? Lennie Dymoke-Bradshaw https://secure-web.cisco.com/1ir1Rh1K9R-uT3xdUNkBkog-ZmzeDtExuFyhSa1tsigY0d-<https://secure-web.cisco.com/1ir1Rh1K9R-uT3xdUNkBkog-ZmzeDtExuFyhSa1tsigY0d-> <https://secure-web.cisco.com/1ir1Rh1K9R-uT3xdUNkBkog-ZmzeDtExuFyhSa1tsigY0d<https://secure-web.cisco.com/1ir1Rh1K9R-uT3xdUNkBkog-ZmzeDtExuFyhSa1tsigY0d> -> 1jT7QxzdII9DYpClAFMkDja4ZQwLQ7hqM6nMUHhryM-50Y0MKcj6--4iitX8qQ9SU5S06VwiuFXQ RPgkdsejDwhLrH1_4EGuBca3hxOJRaGRzF81Kij9H6XlDXLCcZAgMpD8SjtQbHVbN9HcKqW0Y8OL E6tF-3z9L9TNt7s0vTi8_41kxFdejIfdM2deNjmDbW-p3eXYnlPz2SsgWQ2A0Dccxxt6AHKEW2yu xigXFrd0ged_pYGINK0McH7O3ciU2JwIG5lfNk1KdnPxqAYADy3oQMle1Pja3oIKc3OZ-zuFdC-0 XptlYN7RjsA-FDtauJT4TgCZSjBqc8ZSU-5oQHe52kHS8ecKmAmnbhB8AmL7cZmP4Pv5oGgJf3QT hkEcbK8SXARhf9AbEaXlHm/https%3A%2F%2Frsclweb.com <https://secure-web.cisco.com/1bbRwS1hwIkhVuLk-2jBiHEwi8DMLw7cQVfciaqfojP1jH<https://secure-web.cisco.com/1bbRwS1hwIkhVuLk-2jBiHEwi8DMLw7cQVfciaqfojP1jH> <https://secure-web.cisco.com/1bbRwS1hwIkhVuLk-2jBiHEwi8DMLw7cQVfciaqfojP1jH<https://secure-web.cisco.com/1bbRwS1hwIkhVuLk-2jBiHEwi8DMLw7cQVfciaqfojP1jH> > bTOFDWyaOR_E_-3uSpjirja-dg9vPMfHTcfCGYb02RFc6OW8KmdKxyK5MTtF_IMOziWHyaHSt_RK 4eg0gp7L2GWgIyCYKoO0q-qdKAweZbPZnSBAxbNh7f8h5Fuzywrbij7ZlmA50aEjt7_VbEUZKqKl cwiE1n7jd3rYRnkqua1DXZ7z2yHtuutV55ku-pBhKEONEaWM3YAW7g8YR_0B423JOwhc_pksqtaK Lh8XwiZ0msj2bR3V7aYb2Ud_G4be6np9Ho82zALWG4p9ayAZWnbfu6e6DURqsrF4bwMcE1XuWVWA YZtpKGtiRVrHVV3w2lE2a85CTV5mf4AObZmTkbgzfU7r9Dz_oPkFV2ZzDxrlg2R5YS6QHzHVkFRd B7p_J1cPNayaR_fX5cPLjmu/http! s%3A%2F%2Frsclweb.com%2F<http://s%3A%2F%2Frsclweb.com%2F><http://s%3A%2F%2Frsclweb.com%2F>> 'Dance like no one is watching. Encrypt like everyone is.' ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu%3cmailto:lists...@listserv.ua.edu>> with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport<https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport> Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences<http://www.rocketsoftware.com/manage-your-email-preferences> Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy<http://www.rocketsoftware.com/company/legal/privacy-policy> ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN