You use LMMFIND to retrieve statistics. See z/OS ISPF Services Guide Version 2 Release 3. SC19-3626-30.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Charles Mills <charl...@mcn.org> Sent: Wednesday, January 16, 2019 2:58 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there a C or LE service to retrieve ISPF statistics? Okay, where the heck are the meanings and formats of dataid, ver1, etc. documented? Also, I want to *retrieve* (not set) those values. I see LMMSTATS documented as "set and store ISPF statistics." Can I use LMMSTATS to retrieve existing statistics. I don't want to change them. Or is there a different function (that I do not see)? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Carmen Vitullo Sent: Wednesday, January 16, 2019 5:25 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there a C or LE service to retrieve ISPF statistics? Agree, and if I'm reading the OP's query correctly he's asking for ISPF stats not PDS member or directory info, correct? the LM services part of ISPF, are available in many languages, including C so for example ; retcode = isplink("LMMSTATS", dataid, mbrname, ver1, mod1, cdate, mdate, mtime, csize, isize, mrecs, userid, "DELETE", cdate4, mdate4); OR strcpy(buffer,"LMMSTATS DATAID(dataid) MEMBER(mbrname) VERSION(ver1) MODLEVEL(mod1) CREATED(cdate) MODDATE(mdate) MODTIME(mtime) CURSIZE(csize) INITSIZE(isize) MODRECS(mrecs) USER(userid) DELETE CREATED4(cdate4) MODDATE4(mdate4)"); buflen = strlen(buffer); retcode = ispexec(buflen, buffer); ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN