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

How to check source code change - compilation in changeman.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Thu Feb 17, 2011 1:23 pm
Reply with quote

Hi,

A user has compiled a source code ( cobol pgm ) twice in a changeman. Is it possible to know whether the user had made any changes to the program after the first compilation.

If we can get the version of the loadmodule produced during the two compilation then the lenght of the load module can prove whether the source code was changed.

Is there any way to know if there is any change in the program which was compiled twice in a changeman.

Thanks for the help.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Feb 17, 2011 5:57 pm
Reply with quote

Code:
If we can get the version of the loadmodule produced during the two compilation then the lenght of the load module can prove whether the source code was changed.

you are deluding yourself. unless you can decode assembler in your head,
the only thing that you can see is two different compile dates.

if changeman does not have source versioning, then that is another reason to buy a more sophisticated library management system, like endevor.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 17, 2011 11:57 pm
Reply with quote

Hello,

Quote:
If we can get the version of the loadmodule produced during the two compilation then the lenght of the load module can prove whether the source code was changed.
Very possibly, BUT- Not necessarily. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 02, 2011 4:25 pm
Reply with quote

ChangeMan does provide you different versions for different compiles. Once you are at (posted only for illustration)
Code:
 ------------------------- STAGE: aaaa00xxxx COMPONENTS ----- Row 1 to 21 of 21
 COMMAND ===>                                                  SCROLL ===> CSR 
      NAME   TYPE  STATUS      CHANGED         PROCNAME   ID     REQUEST       
 __ A234567 SRB  ACTIVE    20100118  065538   CMNCOBOL E123456                 
 __ A1234567 SRB  ACTIVE    20101005  065102   CMNCOBOL E123456                 
 __ CCBABCDE CPY  ACTIVE    20100310  022002           
.
.
go to the component of your interest and type-in "VC" in front of it. This will give you list of all the versions availble . Of course, keeping history of such versions is a choice made by the site-admins, however, usually site keeps some versions of programs and the how-many-of-them would vary shop to shop.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
Search our Forums:

Back to Top