My current approach is to get everything from SYSADATA, using ASMADATA to map everything.
I want to sort on name rather than location. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Monday, January 26, 2026 10:25 PM To: [email protected] <[email protected]> Subject: Re: XREF? External Message: Use Caution On 1/26/26 12:49, Seymour J Metz wrote: > ... > Is there an existing program that will write the XREF data as a sortable > file? I only see a report format in the HLASM toolkit. > ... The HLASM XREF facility is too coarse-grained. I once added an XREF facility to a compiler (not HLASM) as not a parameter but as a set of pseudo-operations. They provided local control so that XREF(SHORT) could be in effect in contexts such as library copy members but XREF(FULL) in such as open code, displaying inadvertently unreferenced symbols. I didn't think of sorting by location in the source code, but that would have been useful. Could the needed information be extracted from ASNADATA? -- gil
