I've done that, but what you would really like to do is: (Reading) - Open a PDS member with fopen() - Get the user directory info without opening the dataset twice - fread(), fread()... - fclose()
(Writing) - Open a PDS member with fopen() - Get the user directory info without opening the dataset twice - fwrite(), fwrite()... - Update the user directory info without opening the dataset again - fclose() If you drop down and write BPAM, you can do all of these things, even process multiple members. With the z/OS C/C++ Library (fopen(), fread(), fwrite(), fclose()), you can't process user directory info smoothly. On Wed, Jan 16, 2019 at 6:42 AM David Crayford <[email protected]> wrote: > Why don't you just read the directory and write a mapping for the user > data area? > > On 16/01/2019 5:52 am, Charles Mills wrote: > > I'm looking for a C-callable subroutine that would give me the ISPF > > statistics for a PDS(E) member (if available). I'm particularly > interested > > in the "changed" timestamp. I've searched the C library and LE > programming > > docs but could easily have missed something. Does such a function exist? > > > > I picture the input to the subroutine being a DS name and member name, > but I > > could be flexible on that. > > > > Yeah, I know how to write my own but you know how it is. I suppose using > > OPEN and DESERV GET would not be too bad, but I would still prefer not to > > have to go that route. > > > > Charles > > > > ---------------------------------------------------------------------- > > 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
