Hi

I used the FUNC=GET_ALL 

Still a little bit confused by the mapping returned 

I got a IGWDDESB it has a number of IGWSMDE's one for each member of the PDS
the SMDE_NAME_OFF pointes to the offset of the first SMDE_NAME the
SMDE_NAME_VAL is then mapped by IHAPDS ? that doesn't seem right after the
name there is 3 bytes which could be a TTR and then looking at IHAPDS would
be PDS2CNCT the concatenation number which in my case should be 0 but its
not 

Just wondering if I am correct in that SMDE_NAME_OFF points to the first
SMDE_NAME and that SMDE_NAME_VAL is mapped by IHAPDS 

thanks    

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Sunday, August 20, 2023 9:06 AM
To: [email protected]
Subject: Re: BLDL User Data

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 [[email protected]] on behalf of
Peter Relson [[email protected]]
Sent: Sunday, August 20, 2023 8:20 AM
To: [email protected]
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 [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

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

Reply via email to