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
 

 

Rexx code to convert cobol load module to readable code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
magesh23586

Active User


Joined: 06 Jul 2009
Posts: 159
Location: Chennai

PostPosted: Thu May 02, 2013 5:23 pm    Post subject: Rexx code to convert cobol load module to readable code
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Thu May 02, 2013 5:27 pm    Post subject: Reply to: Rexx code to convert cobol load module to readable
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: 1002
Location: Oostende, Belgium

PostPosted: Thu May 02, 2013 5:47 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Thu May 02, 2013 6:55 pm    Post subject: Reply to: Rexx code to convert cobol load module to readable
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    Post subject: Re: Reply to: Rexx code to convert cobol load module to read
Reply with quote

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


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

Senior Member


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

PostPosted: Fri May 03, 2013 8:57 pm    Post subject: Reply to: Rexx code to convert cobol load module to readable
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am


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