and of course you have to run under ISPF and TSO to use ISPF LM services.
These do work in a batch TSO TMP


On Wed, Jan 16, 2019 at 8:56 AM Charles Mills <charl...@mcn.org> wrote:

> Aha! That sounds like what I am looking for. Thank you. Let me read up on
> isplink() and perhaps post again.
>
> 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);
>
>
>
> I cheat and use the ISPF MODEL command to get the syntax for each
> language;
>
> ----------------------------------------------------------------------
> 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

Reply via email to