What about FUNC=GET_NAMES? Which DESERV function are PDSE only and which work for PDS as well?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Peter Relson [rel...@us.ibm.com] Sent: Sunday, August 20, 2023 8:20 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BLDL User Data If you have only the primary name, for a PDS your only approach to finding all the aliases is to read the whole directory. DESERV FUNC=GET_ALL can be a nice way to do this. IHAPDS maps the PDS directory entry. IGWSMDE/IEWPMAR maps the PDSE directory entry. PDS2ALIS for the former, SMDE_Flag_Alias for the latter. The directory entry for an alias has the associated primary name. For a PDSE, there might be binder interface that will return to you the aliases (because the program object has a section that includes the names of all the aliases). Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- 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