There's a secret interface called FAMS that can provide the information
(and much more for PDSEs), but (as I understand it) you have to convince
IBM to let you pay a large amount of money for the documentation.

Ultimately, the directory has to be read to count the blocks, members,
etc.  There are CBT tools that do this, and FAMS must do it, too.

sas

On Wed, Mar 6, 2019 at 5:04 PM Kirk Wolf <[email protected]> wrote:

> A programming API or macro?  Not with TSO or ISPF or REXX (LISTDSI) etc,
> etc, etc
> I know that I don't need it for PDSEs.
>
> On Wed, Mar 6, 2019 at 3:30 PM Paul Gilmartin <
> [email protected]> wrote:
>
> > On Wed, 6 Mar 2019 14:36:42 -0600, Kirk Wolf wrote:
> >
> > >Is there a standard programming API / macro for getting this?  I don't
> see
> > >it in the F1 DSCB - just DS1NOBDB (number of bytes in last directory
> > >block).   It seems odd that there is this bit without more.
> > >
> > >Do you have to just read the directory and count?
> > >
> > Do you want the number allocated or the number in use?  I believe
> > ISPF Info shows you both.  Somehow.
> >
> > Use PDSE and the question vanishes.
> >
> > -- 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
>


-- 
sas

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

Reply via email to