View previous topic :: View next topic
|
Author |
Message |
ch.prashant
New User
Joined: 16 Sep 2006 Posts: 27 Location: Hyderabad
|
|
|
|
Hi all,
I want to compare two loadlib's which was created by same program in differnet timings,by using super CE there are many differences so I found thru forums that we can use AMBLIST utility to compare and they are few commands like LISTLOAD,LISTIDR,LISTPR& LISTOBJ so I want to know detailed information about how to compare using this utility if possible please provide the program |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the program has already been provided by IBM
also it would be nice if You explained the sentence fragment
Quote: |
...created by same program in different timings... |
once we get a better agreement on what you want to do we might give a better help |
|
Back to top |
|
|
ch.prashant
New User
Joined: 16 Sep 2006 Posts: 27 Location: Hyderabad
|
|
|
|
I am compiling the same program twice but I find that the two load modules are different when compared in superCE utility so could you let me give the correct option for comparing the output load modules,I know there will be different timestamps they can differ for few changes but I get the changes in hundreds.
Basically we are doing this as we want to confirm our source code is not modified.
Ex:- I have compiled today and used the loadlib and the same source code was used without modify by others but Iam not aware whether they changed my source code or not so now i need to cross verify by comparing my old load module with the current new module.
I guess you could have got the correct information by now.
Thanks
Prashant |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
as far as source code changes,
if Your organization is using a developer/change management tool
SCLM,ENDEVOR,CHANGEMAN... the info is there
otherwise You must rely on smf logs for dataset access and ISPF timestamps
and .... trust in Your peers
as far as load module comparison,
my personal opinion is that is just a loss of time
look at the timestamps in the load to find out when the module was linkedited last
there are too many factors to take into account when comparing two load modules
if Your organization has the issue, proper actions must be planned and taken
authorithy to acces libraries ( source and load )
responsibilities for &PROMOTING programs ( move them to the next rank in the development chain )
proper auditing actions
doing in at the moment because You feel something is wrongwill just reult in a loss of time |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
i need to cross verify by comparing my old load module with the current new module |
This approach is fraught with problems. Your systems support people may apply maintenance to the operating system at any time (IBM produces a monthly update of system maintenance), and once they've applied maintenance the load modules could be drastically different (for example, LE could have patches applied that change one or more modules, so your load modules could have hundreds of changes). Maintenance to the compiler doesn't happen that often, but it's not unheard of, so the compiler itself could be updated to produce different load modules even if the source code was not changed. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
There's also the possibility that the 2 compiles used different Options, which can produce differing code. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
anyone that is responsible for production programs would never trust that two loads that differ in any respect.
If they are not the same, they are not the same. |
|
Back to top |
|
|
|