Alan, One other quite simple way of getting this information from TSO. TSO ISRDDN and then APF on the command line or TSO ISRDDN APF. I would think this command would be fairly easy to roll into a REXX exec.
Rex -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Alan(GMAIL)Watthey Sent: Thursday, April 19, 2018 12:37 AM To: [email protected] Subject: [External] Re: IBM-MAIN Digest - 17 Apr 2018 to 18 Apr 2018 (#2018-108) Hi listers, I was wondering if there was an easy way to get all the authorised libraries on a z/OS system. I am looking ultimately for a Rexx solution. Now I obviously know about 'D PROG,APF' but according to the manual there are many more authorised libraries than these. Also, there is PROGxx to look at but SYS1.LINKLIB and SYS1.SVCLIB are authorised whether or not they are specified in PROGxx. Then we have all of LPA which is authorised (pageable, fixed, modified and dynamic). Maybe someone has changed a default library name (such as SYS1.LPALIB or SYS1.LINKLIB). Maybe someone has dynamically added or deleted an authorised library. LINKLIST might be automatically authorised or it might not. Will I have to build this entire list myself (that looks a bit daunting to me), is there some obscure (or even obvious) MVS command available I have never used before or can I find it somewhere in memory? Regards, Alan Watthey ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
