Got it had to initialize the header

Still got some questions the IGWSMDE mapping the name offset points to
SMDE_NAME DSECT and SMDE_NAME_VAL is mapped by IHAPDS that does seem right 

thanks  

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
Peter Relson
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

Reply via email to