IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Assembler "global" XREF tool


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 865
Location: The Universe

PostPosted: Thu Jul 30, 2015 11:07 am
Reply with quote

I have been using a tool that shows symbol usage across several modules for many years. Sample output (partial) -
Code:
ADATA_RECSYM  ADATAXIT  CPYADATA  GBLXREF
ADATA_RECTYPE  ADATAXIT  CPYADATA  GBLXREF
ADATA_RECXREF  ADATAXIT  CPYADATA  GBLXREF
ADATA_VERSION  ADATAXIT                   
ADSYM_NAME  GBLXREF                       
ASMADATA  ADATAXIT  CPYADATA  GBLXREF     
AXP_HSIArg1  ADATAXIT                     
AXPAIL    ADATAXIT                       
AXPBUFP   ADATAXIT                       
AXPCEND   ADATAXIT                       
AXPRETC  *ADATAXIT                       
AXPRIL    ADATAXIT                       
AXPRIP    ADATAXIT                       
AXPRPRO   ADATAXIT                       
AXPRTYP   ADATAXIT                       
AXPSIL    ADATAXIT                       
AXPTAD    ADATAXIT                       
AXPTYPE   ADATAXIT                       
AXPXITP   ADATAXIT                       
DCBACBM   MINIFMT                         
DCBBUFCB  GBLXREF                   
DCBDCBE   CPYADATA  GBLXREF   MINIFMT
DCBDDNAM  GBLXREF                   
DCBLRECL *CPYADATA  GBLXREF         
DECAREA  *GBLXREF
DECB     *GBLXREF                   
IHADCB   *CPYADATA  GBLXREF   MINIFMT
Modules marked with * alter the symbol. The tool originally worked by analyzing an ASM XF or Assembler H listing. When the ADATA option for HLASM became available the tool was rewritten to process ADATA data.

Since I now own the tool - version 3 of the tool is a complete rewrite and was not developed with any sort of corporate sponsorship - I can contribute it to CBT.

My question for the forum, is anyone interested in using the tool?
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu Jul 30, 2015 8:40 pm
Reply with quote

Steve, will this work for all ADATA data generated or just the Assemble programs ADATA.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 865
Location: The Universe

PostPosted: Thu Jul 30, 2015 11:53 pm
Reply with quote

I only know HLASM ADATA; I can't answer the question.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Jul 31, 2015 12:39 am
Reply with quote

Steve, I was thinking of the IBM TOOL Debug side files, don't know where my head was on this one.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 865
Location: The Universe

PostPosted: Fri Jul 31, 2015 1:16 am
Reply with quote

I'm aware other products produce ADATA like data, but I don't know anything else. Yes - I do understand what you were thinking.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 865
Location: The Universe

PostPosted: Fri Jul 31, 2015 6:28 pm
Reply with quote

I was able to locate the description of ADATA data for Enterprise Cobol 4.1. While record types 42 and 44 (the record types used by my GBLXREF) appear to define the same data (symbol name and symbol reference) the record data appears to be hopelessly dissimilar than the same data from HLASM. I would expect my GBLXREF to crash hard if it were presented with Enterprise Cobol ADATA data.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Jul 31, 2015 7:05 pm
Reply with quote

thanks Steve, its a nice tool but here every thing is in cobol and then this is not going to help.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Calling Assembler from REXX PL/I & Assembler 5
No new posts REXX/CLIST tool for BCSR and EDSR CLIST & REXX 2
No new posts XML Parsing in COBOL creating "h... COBOL Programming 0
No new posts How do i verify the char field is hav... PL/I & Assembler 1
No new posts Am I missing something on "FREE ... CLIST & REXX 10

Back to Top