John McKown of the IBM Mainframe Discussion List <[email protected]> wrote on 04/27/2007 12:51:26 PM:
> > -----Original Message----- > > From: IBM Mainframe Discussion List > > [mailto:[EMAIL PROTECTED] On Behalf Of Larry Dinwiddie > > Sent: Friday, April 27, 2007 1:34 PM > > To: [email protected] > > Subject: PDSE Used pages > > > > > > I am trying to obtain the pages used in a PDSE from an assembler > > program. Looking at the manual, I put GETSIZE=YES on my DCBE and > > thought the field DCBESIZE would have the used blocks after the OPEN, > > but it doesn't. It contains all zeros. I must be doing > > something wrong > > or I am looking in the wrong place. Anyone have any > > suggestions where I > > can obtain this information. > > > > Do you have a large amount of money available? if so, then you can buy a > manual from IBM about how to do this. Oh, and you don't get updates. And > you must sign an NDA. This information is proprietary and IBM ain't > gonna tell you how to get it. > > However, if you are licensed for ISPF, then you can get the information > from the LMDLIST service. But this means that your assembler program > must run under ISPF in a batch TSO session. > > -- > John McKown John is correct about the lack of an API to get this information, and the Top Secret nature of the FAMS interface. I call the DSINFO program (which requires ISPF) from an assembler program. Contact me offlist if you want the code. Regards, John Kalinich Computer Sciences Corp ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

