On Wed, 16 Jan 2019 17:20:03 -0600, Kirk Wolf wrote: >Quick and dirty from C to list directory and / or retrieve member >statistics: > >fopen("MY.PDS", "rb,type=record,noseek,recfm=u") >loop fread() ... 256 byte directory blocks until EOF > - process each member entry in the block. > See "DFSMS Using Data Sets" / PDS Directory for the layout structure >fclose() > >ISPF stats are in the optional user data section of the member entry. >ISP.SISPMACS(ISPDSTAT) can be used to map that for ISPF statistics. > >The z/OS XLC/C++ Programming Guide has a sample ""Listing Partitioned Data >Set Members" in Appendix H "Additional Examples" that does this (except for >the user data): > There's another set of stats kept for PDSE members, regardless of ISPF, the FAMS information.
o I don't know the API. o Microsecond granularity. o NFS server uses them. o HSM migrate-recall preserves them o IEBCOPY unload-reload sets to time of reload. Real OSes timestamp files. Emerson. Consistency. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN