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

Compare Files - Please Help


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Aug 14, 2009 10:07 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Fri Aug 14, 2009 10:50 pm
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: 1248
Location: Richfield, MN, USA

PostPosted: Sat Aug 15, 2009 2:25 am
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

Superior Member


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

PostPosted: Mon Aug 17, 2009 2:28 pm
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

Superior Member


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

PostPosted: Mon Aug 17, 2009 2:31 pm
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
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: 1287
Location: Chennai, India

PostPosted: Mon Aug 17, 2009 4:48 pm
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
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: 1353
Location: Israel

PostPosted: Mon Aug 17, 2009 7:01 pm
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
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: 1248
Location: Richfield, MN, USA

PostPosted: Mon Aug 17, 2009 10:02 pm
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

Moderator Emeritus


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

PostPosted: Mon Aug 17, 2009 10:52 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts 3 files concatenated to 1 DFSORT/ICETOOL 2
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files and write Matched/Unm... JCL & VSAM 8
Search our Forums:

Back to Top