Unless I misunderstand the thought behind "I think CMAP (a commercial 
product) used to do this sort of thing, but VM/ESA is no longer supported 
by most ISVs, so I doubt it is still available." 
CMAP/XA is indeed still available.  It's now marketed (barely) and 
supported by Macro4 - it's not easy to find on their web site, look at:
        http://www.macro4.com/support/productlevels/vm-esa/cmap.html

But even so, I don't *think* it addresses the questions asked here. 
Basically we use it to tell who is executing which "monitored" commands.
But it may do more than we ask of it.

Mike Walter
Hewitt Associates
The opinions expressed herein are mine alone, not my employer's.



"David Boyes" <[EMAIL PROTECTED]> 

Sent by: "VM/ESA and z/VM Discussions" <[email protected]>
11/17/2005 08:54 AM
Please respond to
"VM/ESA and z/VM Discussions" <[email protected]>



To
[email protected]
cc

Subject
Re: Compare TXTLIB






> I know about MAP.
> Who however can knows, how it is possible to compare of the 
> same name sections in libraries?

As I said earlier, this is possible for MACLIBs because they are printable
human-readable text. For TXTLIBs or LOADLIBs, the only comparison possible
using the native tools is a bit-by-bit comparison of the contents of the
members, which isn't really very useful. 

> Can there are any programs or procedures, which allow it to make?
> For example, how to check by means of loading in memory of 
> modules from different libraries.
> Or, to define(determine) address of a beginning of sections 
> in libraries and their length, and then as to check.
> Whether there are any ideas, as it to make how to write such program?

It might help to step back and tell us what the bigger problem you're 
trying
to solve is. I'm guessing that you're trying to find out what version of a
library is being used for applications, and remove some duplicate copies. 
Is
that guess correct? 

In the case of TXTLIBs, address symbol resolution and such are resolved at
the time you LOAD the module into storage, so there really isn't any such
usage information *in* the module other than the external symbol table,
which doesn't tell you much more than what the MAP option does on the *LIB
commands. LOADLIBs are similar in behavior.

You could write a modification to the CMS LOAD command that recorded the
information it used when linking the application, but that's a fairly 
major
project, and won't catch already-compiled modules - you'd have to rebuild
all your MODULE files for it to be effective. You'd also have to get deep
into the OS simulation stuff to catch things used there. 

I think CMAP (a commercial product) used to do this sort of thing, but
VM/ESA is no longer supported by most ISVs, so I doubt it is still
available. 




 
The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited.

Reply via email to