Hi Folks,

    Just want to make aware of a new tool that I stumbled into writing.  But it looks to be more useful than I originally thought.  So I figured to mention it and maybe some people will get mileage out of it.  It is called LISTMOD and it is on File 994 of the Updates page of www.cbttape.org.  You don't need to be APF-authorized to use the tool.

    What LISTMOD does, is to display load modules in a readable format, in an ISPF-like 3-line hex display with ruler. The header gives "some" useful information to be able to find stuff, but I think that the main purpose is to make a load module just a bit more accessible and just a bit more readable, so you can actually STUDY the darn thing.  Works for the more "ordinary" PDSE load modules too, and makes them readable.

    Here's an example of the first few lines.  The actual display goes all the way to the end of the load module, beginning to end.  If you want to start from the entry point specified, instead of from the beginning, use the ENTRY keyword, as in TSO TSOV IEFAB4A0 ENTRY.  Leaving out the ENTRY keyword forces a display of the entire load module, beginning to end, but the header tells you where to start looking at the entry point.  With or without the ENTRY keyword, you get the same header information.

The command entered was:  TSO (TSOV - to capture and ISPF VIEW the output) LISTMOD IEFAB4A0

Loaded Program Name: IEFAB4A0
-----------------------------------------------------------------
Module is from LPA.  LPDE Address: 00C742D0   Alias of: IEFW21SD
Length of loaded module Hex:  000DD450    Decimal: 906320
Length after entry address :  00070D08    Decimal: 462088
Displacement of entry point:  0006C748    Decimal: 444232
-----------------------------------------------------------------

x4   IEFDB400 18248 UA97287  ^ /  {{       0 W  {         xY m     00000000
AF001CCCCCFFF4FFFFF4ECFFFFF015161ACC0014034F0E50C3B000B001AE3910
740E6956424000182480419728708F8180000067D0100680042B002A0078F49E
---+---+---+---1---+---+---+---2---+---+---+---3---+---+---+---4

x     {0     00     x4  x4  x4  {     i0            {0     00 x    00000040
A20211CF00135FF1000EAF02AF00AF01C100128F00BF12110710CF00115FF1A7
74018D0000658008705F740A740474050000689008FD08B1A82E00006E800C74
---+---+---+---1---+---+---+---2---+---+---+---3---+---+---+---4

   \  {     i0            {0     00 x  P      &}     8 5 &  4     00000080
FE4E00C100118F00BF12110710CF00105FF2A7FD1B11105DB042BF1F1D54BF52
FA10000000659008FD0BB1A82E00006B800074F781868A000420B8858B000480
---+---+---+---1---+---+---+---2---+---+---+---3---+---+---+---4

(70817 lines in ISPF.  This is a big module.)

    A nice thing about this tool is that you don't have to know what library the load module resides in.  You just LISTMOD the name, and the whole display blaps out in front of you.  As I said, it makes load modules just a little more accessible to look at them.  You need a place to contain the display for large modules, and that's why I included the "output capturiing tools":  TSOB (browse), TSOV (view), TSOE(edit) and TSOR (REVIEW from CBT File 134, which also works in TSO READY mode), so you can scroll up and down the (sometimes big) outputs on the screen.  You can also capture a big output file using TSO-in-batch (example included in File 994).

    So to make a load module a little more readable, try this thing out.  It is very easy to use.  Please let me know if you like it.

    All the best of everything to all of you.

Sincerely,    Sam

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

Reply via email to