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

Recovering source code from load module.


IBM Mainframe Forums -> COBOL Programming
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
gimli1971

New User


Joined: 24 Aug 2006
Posts: 2

PostPosted: Thu Aug 24, 2006 1:50 am
Reply with quote

Recovering source code.

Hi,

I have just inherited the cobol based system .

Unfortunately while there are load modules ,

source code library for those was deleted .

Is there anyway recover the source code from existing load module?

Eugene
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Aug 24, 2006 2:24 am
Reply with quote

Eugene,

I'm so very sorry for you. I hope there are not very many of these programs.

There are some products on the market the will not do what you want, but will give you COBOL code that will compile. Since the products do not know what the data names, paragraph names, etc. are, it will give you sequentially produced labels. You will need to give them meaningful names.

With my one experience doing this, many many moons ago, I learned that it is probably easier to re-code the program from scratch than to re-claim the program from the load module.

The only problem with re-coding is that you need to understand, in detail, what the program does. Absent this, I guess having the COBOL code generated by some product is better than, say, a sharp stick in the eye.

It?s been so many years since I did this, I don?t even know where to start looking. Maybe with IBM. I?m sure they get these questions occasionally.

Best of luck, maybe someone else has had more resent experience doing this.

Dave
Back to top
View user's profile Send private message
zabraavi09

New User


Joined: 27 Aug 2020
Posts: 1
Location: India

PostPosted: Thu Aug 27, 2020 2:20 pm
Reply with quote

Hi, I am working on a project where we do not have the source code but have the load modules. Is there any way to recover the source code please as I am trying to upgrade the version? If there are other tools/thirdparty - please let me know the details. TIA!
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 27, 2020 2:51 pm
Reply with quote

Why are you appending your topic to someone else's and, what is more, one that is 14 years old?
Please start you own topic and never resurrect old topics.
Locked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Best way to Capture Auth ID of the so... COBOL Programming 1
No new posts SXP Tool for PL1 or Module library ma... PL/I & Assembler 0
No new posts Cobol code- to find a string in a str... COBOL Programming 3
No new posts IEF085I REGION UNAVAILABLE,ERROR CODE... Java & MQSeries 0
No new posts How to convert RESP code 12 to text? CICS 9
Search our Forums:

Back to Top