No API unless it's in FAMS. The only way that I know is to read the directory, 
or to use an ISPF service that does so.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Kirk Wolf <[email protected]>
Sent: Wednesday, March 6, 2019 3:36 PM
To: [email protected]
Subject: Number of directory blocks for existing PDS

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?

Kirk Wolf
Dovetailed Technologies
http://secure-web.cisco.com/1VIvaZa3zooFv72E8iZDlDP2Pve18uwsnQA5g6_nmahofAjqBjTb1iTihyn42n_1PW21_dODdnLhd64kOohnczZFkvX_v5F6Jei2MzKv5FUd05FnB80_M6IALvs6mokhiHgrB-_pEsxb94J2hP5x7yrNA_63pMuW22fVzGfkiVRw3ZhIY6JFfN_CCEtJup00gc8O8ufyzSOXeFxXivMciOUUO0n6uxprXJu0s04n31aoY1TiEkFbWQ_2ZDu8spwpoGdv30M8Xa1jr7Q36wbIDGzeaPWtp6eQ7Btcs-zwaXrMQfpI2hxjHT7JrfOI_wtaLbCLnZ0U7zkpZnPAav-4JiA_hprtEVaOptzg6wJO6tCYdmS6TGvb-7pth8bGkHx4azISS8NJ0b3O35-4u9k4pvRrdmhDWhgBwDufj0dNNnxrjuuJ2oDKf9x9qudDSomuB/http%3A%2F%2Fdovetail.com

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