View previous topic :: View next topic
|
Author |
Message |
magesh23586
Active User
Joined: 06 Jul 2009 Posts: 213 Location: Chennai
|
|
|
|
Hi,
IS there any Rexx code available to convert cobol load module to cobol program or source code, I remember i saw some Rexx code in this forum previously, but now i could not find it now.
Regards,
Magesh |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I remember i saw some Rexx code in this forum previously, but now i could not find it now. |
hard to believe |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
The only load modules that can be, with a very high degree of confidence, converted to source are BMS maps, but doing so in REXX is (virtually) impossible, as REXX does not have any way of accessing U-type records...
Converting any high-level language to source is simply not possible, although Hex-Rays' IDA Pro with the Hex-Rays Decompiler does do a pretty good job when processing C.
I'm sure that if you give them a couple of million dollar, they would be happy to produce something that can do the same for z/OS load modules that are the result of compiling Cobol. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
I remember seeing a poorly-titled one somewhere, but it was about (or ended up being about) getting the compile information from a loadmodule.
Turning an "object" into Cobol source is a highly complex thing. You either pay a company to do it (google will find them) or you "disassemble" the Cobol program and treat it as an (oddly-written) Assembler program.
Or you hope you have a source close enough, that just an inspection of the object code will get you there.
So, more detail of the specifics of what you want. |
|
Back to top |
|
|
harishcv
New User
Joined: 29 Dec 2010 Posts: 9 Location: India
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
The source code is one of most important assets your company may have. There should be several generations of backups, including backups kept offsite.
I realize my comment may not be of much help to Mangesh, but may help others. |
|
Back to top |
|
|
|