MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comparex 3.13

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
dhruva
Beginner


Joined: 15 Sep 2004
Posts: 4
Topics: 2

PostPosted: Sun Oct 17, 2004 2:57 pm    Post subject: Comparex 3.13 Reply with quote

I have this problem for some time. After I do a change in any cobol program and I usually do a comparex(3.13) to make sure that nothing changed other than what I am supposed to..


I give the new dataset name as updated one and the old on is obviously production one. When ever I do a comaprex, I see the entire code. Though I also see the code I have changed or added as Inserted and in the old(prod) one the same code as deleted.
I would lile to see the only piece of code I have changed or modified as long rest of the code is exactly matches with the production code.
It might happen that when I add a code line numbers might be getting changed so comaprex giving all the lines. This time I have just commented couple of statements. still I am getting all the code.
I have tried couple of process options and statements but not worked out.
Also when I was working in a different shop I used to see only the changed code. I never paid attention to the settings that time. Can some one tell me why like this and the solution for this ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Mon Oct 18, 2004 7:47 am    Post subject: Reply with quote

Dhruva,

choose the following options.

option 2( Line ) for compare type
option 2( DELTA) for listing type
option 1( yes) for display output

This will give you a result of just the changed lines. Alternatively you can run the following batch jcl to achieve the desired results.


Code:

//SUPERC  EXEC PGM=ISRSUPC,                                            *
//            PARM=(DELTAL,LINECMP,                                     
//            '',                                                       
//            '')                                                       
//NEWDD  DD DSN=YOUR NEW DATASET,                             
//          DISP=SHR                                                   
//OLDDD  DD DSN=YOUR OLD DATASET,                               
//          DISP=SHR                                                   
//OUTDD  DD SYSOUT=(*)         


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group