Well, it had not occurred to me that I could do the "assembler hack" in C but 
of course I could: read the directory LRECL=256 and deblock it. That would 
certainly work, but it is more work than I want to do at this moment.

Also, what Kirk says. The above involves writing and maintaining a module and 
double OPENs. You ought, as Kirk says, be able just to do an fopen() followed 
by meminfo() and get the member info or a return code that says "sorry Charlie, 
not a PDS member."

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of David Crayford
Sent: Wednesday, January 16, 2019 4:42 AM
To: [email protected]
Subject: Re: Is there a C or LE service to retrieve ISPF statistics?

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.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to