Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 213
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

Senior Member


Joined: 14 Mar 2007
Posts: 10622
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: 1161
Location: Vilnius, Lithuania

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: 7312

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: 2136
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 Convert string to packed format ajaydwivedi4u COBOL Programming 1 Sat Sep 21, 2019 5:01 pm
No new posts REXX and 3270 highlighting Harold Barnes CLIST & REXX 3 Fri Sep 20, 2019 5:26 am
No new posts Convert from 1/1/2019 to 01/01/2019 sudhakarraju DFSORT/ICETOOL 1 Fri Sep 20, 2019 1:16 am
No new posts REXX EXECIO STEM No newline Harold Barnes CLIST & REXX 3 Tue Sep 17, 2019 6:07 am
This topic is locked: you cannot edit posts or make replies. COBOL/CICS with real time MQ Series u... BPranav CICS 2 Mon Sep 16, 2019 9:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us