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
