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
 

 

Compare Files - Please Help

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
srvmani
Warnings : 1

New User


Joined: 30 Dec 2003
Posts: 19

PostPosted: Fri Aug 14, 2009 9:55 pm    Post subject: Compare Files - Please Help
Reply with quote

Hi ..

I am expecting the solution for the following problem. Please help me in this regard.

Every time I will take the program from Endevor and I made the changes to the program, but mean time some will make the changes to the same program and they update into the Endevor. Usually I need to compare(by using the ISPF facility) to the latest with my own program and I need to update the program with my changes.

It is easy to work with one program or two, but it is hectic when I will work on around > 25 programs.

By doing manually while copying I am missing the some of the lines during comparision and I am updating my own program to Endevor it is causing serious results.

Is there any utility (iREXX or DFSORT or) or any pseudo code availbe to avoid this problem?

Please help..
Subba
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Fri Aug 14, 2009 10:07 pm    Post subject:
Reply with quote

Hello,

You might try superce (tso/ispf/3.13) in batch.

You could create a compare for each of the modules and run them in one job.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri Aug 14, 2009 10:50 pm    Post subject: Reply to: Compare Files - Please Help
Reply with quote

Quote:
... but mean time some will make the changes to the same program and they update into the Endevor.
icon_eek.gif
Quote:
By doing manually while copying I am missing the some of the lines during comparision and I am updating my own program to Endevor it is causing serious results.


what did Your stupid management expect from such a foolish approach
if not troubles ?

looks like there is nobody collecting the requirement and schedule the program updates cycle

what if You add some lines to a cobol paragraph and some other requirement decides that the same paragraph is not needed any longer?

i' d would drfine this as a wonderful change management approach
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Sat Aug 15, 2009 2:25 am    Post subject:
Reply with quote

Endevor provides the function of "checking out" an element so that the next programmer knows it's being modified. I would strongly suggest making use of Endevor's features.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Aug 17, 2009 2:28 pm    Post subject:
Reply with quote

I do not work with Endevor, however, with a product known as Change-man, to accomplish similar kinds of taks as Endevor does. In change-man if a user is editing some component other can not, it's by default. I believe same facility should be there in Endevor. (If 'am not mistaken, I believe, this is what Terry is also telling...)
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Aug 17, 2009 2:31 pm    Post subject:
Reply with quote

I just noticed -- your subject title "Compare Files - Please Help" is totally different than what you write in the body of the thread... icon_smile.gif. Was this a "trick thread"?
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Mon Aug 17, 2009 3:12 pm    Post subject:
Reply with quote

Yeah Anuj,
I was also thinking this is one of the "compare two files"... "merge records".. ."remove duplicate records"... kind of post which pops up every now and then. icon_wink.gif ... I was almost going to click the search button to provide some already discussed topics... icon_razz.gif
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Aug 17, 2009 4:48 pm    Post subject: Reply to: Compare Files - Please Help
Reply with quote

Srvmani,

When you use Endevor to retrieve the components from prod/stage you can use the option Sign out=Y to sign the component out in your ID so that no one else can edit it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Aug 17, 2009 6:04 pm    Post subject:
Reply with quote

there is an endevor side product called PDM or Parallel Development Mainframe that addresses this problem. You can have 2 derivation files and the root. Provides a change card (like superc) output. If it is not installed, too bad.. a little cumbersome until you understand how it works and then it makes keeping track of multiple versions of the same module much easier.

Other than that, I would say that everyone use quick-edit to enter their changes.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1218
Location: Israel

PostPosted: Mon Aug 17, 2009 7:01 pm    Post subject: Re: Compare Files - Please Help
Reply with quote

srvmani wrote:
Every time I will take the program from Endevor and I made the changes to the program, but mean time some will make the changes to the same program and they update into the Endevor. Usually I need to compare(by using the ISPF facility) to the latest with my own program and I need to update the program with my changes.


What happens with this scenario:
You take the program, somebody else take the program, you update the program in Endevor, somebody else update the program in Endevor.

In that case, your compare before update will show nothing,
And eventually your work will be lost... icon_cry.gif
(Unless, of course, if that somebody else also does a compare)

We never do parallel development. Only one check-out at a time.
Back to top
View user's profile Send private message
srvmani
Warnings : 1

New User


Joined: 30 Dec 2003
Posts: 19

PostPosted: Mon Aug 17, 2009 9:55 pm    Post subject: Reply to: Compare Files - Please Help
Reply with quote

Hi to all....

I noticed that my subject may be wrong....please excuse.

My actual problem here.....please go through....

We use...Endevor as CMT. Problem is I am working in an environment like every developer will work on the same Program more than 400+.

We cant restrict to use a single program by a single developer.

Usually I use PDM option to compare the latest changes with...the other stages changes only. May be I didnt observed any option in the PDM.

I gone through the Endevor manual a couple of times, ut no use.

Usually I do compare with the latest with my changes...as I told earlier...once with the PDM option in the Endevor. I have to check and I have to update whatever the changes available in the latest Endevor program to update with my new changes.

The above process causing serious code errors...due to manual copying the changes and incorporating the changes to my program for update.

So the reason I decided to develop one program to read the new file(cobol source) and old file(cobol source) if any matching available it should update in the file.

I think u people understand my problem clearly. Please help in this regard.

Thanks
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Mon Aug 17, 2009 10:02 pm    Post subject:
Reply with quote

Quote:
...I am working in an environment like every developer will work on the same Program more than 400+.
You are working in an environment that is just waiting for accidents to happen. icon_sad.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Aug 17, 2009 10:52 pm    Post subject:
Reply with quote

Hello,

Quote:
We cant restrict to use a single program by a single developer.
"Can't" is quite subjective. . . This is more a local belief than it is a fact. . .

Many (most?) places can and do restrict one program to one developer. As far as i know, the exception is when there is new development going on in an already production system and the need for an "emergency repair" arises. Then the repair is done and the fix is given to the developer working on the new part of the code to incorporate.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    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 High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm


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