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

CHangeman- To know the changes made after compilation


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nabi

New User


Joined: 13 May 2009
Posts: 8
Location: luxemberg

PostPosted: Mon Jun 08, 2009 11:52 am
Reply with quote

Hi,
Is there any way to find out the changes made after compilation of component in changeman?

Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Mon Jun 08, 2009 2:11 pm
Reply with quote

Hi,

AFAIK, there is no such way. What's the origin of such a question, by the way?
Back to top
View user's profile Send private message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Hyderabad

PostPosted: Mon Jun 08, 2009 4:46 pm
Reply with quote

HI,

You can compare it with the Base version... So that you can find out your changes....
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Mon Jun 08, 2009 4:54 pm
Reply with quote

And what if the component is brand-new?
Back to top
View user's profile Send private message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Hyderabad

PostPosted: Mon Jun 08, 2009 9:15 pm
Reply with quote

HI Anuj,

Yes...as you said for brand new components there is no such way...

I think he might be asking about the existing program changes...

Anyway let us wait for his response....
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue Jun 09, 2009 1:52 pm
Reply with quote

One can say -- take the back-up, compile with new changes and compare with back-up. But that does not seem to be an answer; there is no such in-built function in change-man which will tell such differences.Period.
Back to top
View user's profile Send private message
Nabi

New User


Joined: 13 May 2009
Posts: 8
Location: luxemberg

PostPosted: Thu Jun 11, 2009 12:14 pm
Reply with quote

I am talking about brand new program only. Sorry for the delay in getting back.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Jun 11, 2009 2:46 pm
Reply with quote

Thanks for the follow up Nabi.

As I've already said, there is no such way I know of. If doing that comparison is so important, take the back-up, compile with new changes and compare with back-up.
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Thu Jun 11, 2009 5:02 pm
Reply with quote

Nabi,


Take a look at the VC command in changeman. If Changeman administrator has turned it on and you are saving all the versions within changeman when you compile, you can compare with 2 staging versions.


Code:
VC - Component version control (If turned on by Administrator)   



Syam
Back to top
View user's profile Send private message
Nabi

New User


Joined: 13 May 2009
Posts: 8
Location: luxemberg

PostPosted: Thu Jun 11, 2009 6:27 pm
Reply with quote

Syam, Can you just elaborate your answer?

What do you mean by "Saving" in change man? and is this a TSO command like F all var1 ??

We generally compile in changeman but dont save, isn't it?
Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Jun 11, 2009 7:14 pm
Reply with quote

Syam -- did you try that command at your shop, please try that with a "brand-new" component.
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Fri Jun 12, 2009 10:03 am
Reply with quote

Nabi,

When you compile the source code are you getting a screen similar to the one below....


Code:
Component: XXXXXXXX.SRB   Package: XXXX003383   
                                                 
Save version ===> YES (Yes, No)                 
                                                 
Enter YES to save the previous version that is   
in the staging library.                         
Enter NO to discard the previous version that   
is in the staging library.                       
                                                 
   Set Save Previous Version prompt off




Here you can set the option to "Yes" so that changeman can save the version.


Once you are done with that, in the staging screen give the command "VC" as shown below.


Code:
------------------------- STAGE: XXXX003383 COMPONENTS ------- Row 1 to 7 of 7
 COMMAND ===>                                                  SCROLL ===> CSR 
      NAME   TYPE  STATUS      CHANGED         PROCNAME   ID     REQUEST       
 VC XXXXXXXX SRB  INCOMP    20090612  002233   CMNCOB3  YYYYYYY         




If changeman is configured properly you should get a screen similar to the one below.....


Code:
Component: XXXXXXX.SRB   Package ID: XXXX003383           Staging view       
                                                                               
   Level Prompt       Changed        ID     Description                       
    STG           2009/06/12 00:22 YYYYYYY                                   
   -001           2009/06/12 00:20 YYYYYYY                                     
   -002           2009/06/10 02:35 YYYYYYY                                     
   -003           2009/06/10 00:41 YYYYYYY                                     
   -004           2009/06/09 08:09 YYYYYYY                                     
   -005           2009/06/09 08:02 YYYYYYY                                     
   -006           2009/06/09 02:11 YYYYYYY                                     
   -007           2009/06/09 01:32 YYYYYYY                                     
   -008           2009/06/08 07:17 YYYYYYY                                     
   -009           2009/06/08 04:07 YYYYYYY                                     
   -010           2009/06/05 08:00 YYYYYYY                                     
   -011           2009/06/05 02:30 YYYYYYY                                     
   -012           2009/06/05 02:02 YYYYYYY                                     
   -013           2009/06/05 01:53 YYYYYYY                                     
   -014           2009/06/05 01:51 YYYYYYY                                     
   -015           2009/06/05 01:47 YYYYYYY                                     
   -016           2009/06/05 01:45 YYYYYYY




Anuj,


Yes, i have tried for a "brand-new" component.





Syam
Back to top
View user's profile Send private message
shoaib

New User


Joined: 20 Dec 2006
Posts: 5
Location: mumbai

PostPosted: Sat Jun 13, 2009 3:08 am
Reply with quote

Syam ... it worked for me to ..

Is there any way to restore the previous version or the nth previous version ...

Answer would be appreciated...
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Mon Jun 15, 2009 10:08 am
Reply with quote

Nabi,



pressing F1 would reveal lot of help at all times..... icon_smile.gif



Syam
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Changeman: add library name for stati... Compuware & Other Tools 2
No new posts How syntax check at Bind time is diff... DB2 5
No new posts Changeman - VV MM Compuware & Other Tools 7
No new posts Changeman get multiple "Browse C... Compuware & Other Tools 4
No new posts How to sync memebers in some datasets... Compuware & Other Tools 2
Search our Forums:

Back to Top