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

Rexx code to convert cobol load module to readable code


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
magesh23586

Active User


Joined: 06 Jul 2009
Posts: 213
Location: Chennai

PostPosted: Thu May 02, 2013 5:23 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 02, 2013 5:27 pm
Reply with quote

Quote:
I remember i saw some Rexx code in this forum previously, but now i could not find it now.


hard to believe icon_cool.gif
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu May 02, 2013 5:47 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu May 02, 2013 6:55 pm
Reply with quote

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
View user's profile Send private message
harishcv

New User


Joined: 29 Dec 2010
Posts: 9
Location: India

PostPosted: Fri May 03, 2013 8:39 am
Reply with quote

May be below is the link to previous forum discussion with same topic you are looking for.


ibmmainframes.com/about33928.html
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri May 03, 2013 8:57 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Load new table with Old unload - DB2 DB2 6
Search our Forums:

Back to Top