IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Comparing two loadlib's using AMBLIST


IBM Mainframe Forums -> COBOL Programming
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ch.prashant

New User


Joined: 16 Sep 2006
Posts: 27
Location: Hyderabad

PostPosted: Thu Nov 06, 2008 5:03 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 06, 2008 5:17 pm
Reply with quote

the program has already been provided by IBM icon_biggrin.gif
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
View user's profile Send private message
ch.prashant

New User


Joined: 16 Sep 2006
Posts: 27
Location: Hyderabad

PostPosted: Thu Nov 06, 2008 5:52 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 06, 2008 6:06 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 06, 2008 6:52 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Nov 06, 2008 8:38 pm
Reply with quote

There's also the possibility that the 2 compiles used different Options, which can produce differing code.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Nov 06, 2008 8:55 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Comparing Header and Trailer. DFSORT/ICETOOL 7
No new posts Easy way to delete selected members f... IBM Tools 12
No new posts Comparing Signed Packed decimal and p... SYNCSORT 2
No new posts Comparing Comp-3 fields with greater ... DFSORT/ICETOOL 11
No new posts Comparing inside same file DFSORT/ICETOOL 2
Search our Forums:

Back to Top