If you don't want to drop into assembler, you can read the directory of a PDS by having a DDname point to the data set name and DO NOT specify a member name. Use an LRECL and BLKSIZE of 256. You can read to the end and then you have the entire directory in storage. This can be done in REXX if necessary. Then you need the mapping that Mike Shaw posted to interpret the data that is returned.
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 Seymour J Metz Sent: 10 October 2023 20:45 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Access to PDS(E) ISPF statistics outside of TSO/ISPF Yes. Use DESERV to get the directory entry and look at the user data field. ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Matt Hogstrom <m...@hogstrom.org> Sent: Tuesday, October 10, 2023 12:53 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Access to PDS(E) ISPF statistics outside of TSO/ISPF I'm looking for a way to access ISPF statistics from Java or C outside of a TSO / ISPF environment. Does such an animal exist out there ? Matt Hogstrom m...@hogstrom.org "It may be cognitive, but, it ain't intuitive." - Hogstrom ---------------------------------------------------------------------- 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