Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Comparing two loadlib's using AMBLIST

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Comparing two loadlib's using AMBLIST
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 06, 2008 5:17 pm    Post subject: Reply to: Comparing two loadlib's using AMBLIST
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    Post subject: Reply to: Comparing two loadlib's using AMBLIST
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 06, 2008 6:06 pm    Post subject: Reply to: Comparing two loadlib's using AMBLIST
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Nov 06, 2008 6:52 pm    Post subject:
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    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Thu Nov 06, 2008 8:55 pm    Post subject:
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.    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm
No new posts comparing comp-3 and unpacked numbers juares castro COBOL Programming 3 Mon May 30, 2016 6:46 pm
No new posts Need help on comparing hexadecimal va... ashok_uddaraju DFSORT/ICETOOL 4 Thu Apr 28, 2016 2:08 am
No new posts Comparing two VB files phani_nittice SYNCSORT 8 Fri Jan 22, 2016 1:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us