It is not difficult to do in assembler. And it is *possible* to do it in REXX.
1. Allocate the PDS to a DD as LRECL(256) DSORG(PS). 2. EXECIO to read it. Now you can use REXX to process through the PDS directory, and extract the member name, TTR, user data length, and user data (i.e. the directory user date). The user data contains all the ISPF statistics. But I wouldn't do it this way except as a last resort! -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Thursday, June 15, 2023 10:21 AM To: [email protected] Subject: Re: PDS/PDSE Member information On Thu, 15 Jun 2023 16:10:20 +0100, Jack Zukt wrote: > >Is there a way to get the PDS/PDSE member information, namely, >member/userid/last change date in batch? I have not been able to get to it >using rexx. > I've done this by allocating the PDS DSORG=PS,RECFM=F,LRECL=256 reading the directory with EXECIO and parsing the blocks according to the definitions. PDSE is supposed to provide similar support. This works only for members created by ISPF and some utilities that support the ISPF convention. PDSE information is also available via FAMS, but IBM won't tell you anything about that. Alternatively, you could use ISPF LM services in batch (LMMSTATS?) -- gil ---------------------------------------------------------------------- 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
