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 <[email protected]> On Behalf Of Seymour J Metz Sent: 10 October 2023 20:45 To: [email protected] 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 <[email protected]> on behalf of Matt Hogstrom <[email protected]> Sent: Tuesday, October 10, 2023 12:53 PM To: [email protected] 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 [email protected] "It may be cognitive, but, it ain't intuitive." - Hogstrom ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
