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; 


Carmen Vitullo 

----- Original Message -----

From: "Paul Gilmartin" <[email protected]> 
To: [email protected] 
Sent: Tuesday, January 15, 2019 5:50:13 PM 
Subject: Re: Is there a C or LE service to retrieve ISPF statistics? 

On Tue, 15 Jan 2019 15:07:41 -0800, Charles Mills wrote: 

>Well, I just voted for it (after I got past IBM's #$#@^! logon process). 
> 
>The driver for mainframe C was "porting industry applications" and few UNIX 
>applications retrieve ISPF statistics. 
> 
Via LM services, or TSO-free? 

(Heck, if porting was a driver, they should have gone ASCII default.) 

-- gil 

---------------------------------------------------------------------- 
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

Reply via email to