1833701 Members
3199 Online
110062 Solutions
New Discussion

Cobol executable file

 
shameem_2
Occasional Contributor

Cobol executable file

Hi ,

Hope you are aware that it is possible to get java source code from java class file.

Similarly is it possible to get Cobol Source code from the cobol executable file.

Thanks,
Shameem.
Keep trying until U succeed
4 REPLIES 4
John Strang
Regular Advisor

Re: Cobol executable file

Hi Shameem,

I don't think it is possible, sorry.

John
If you never make a mistake you'll never make anything.
shameem_2
Occasional Contributor

Re: Cobol executable file

Hi John,

I searched in google.com and I found the chances of getting the cobol source code throught this link http://www.year2000.com/vendors/src.html
But Im not sure how it will help me. Should I rely on them?

Thanks,
Shameem.
Keep trying until U succeed
harry d brown jr
Honored Contributor

Re: Cobol executable file


From your link:

statements for applications running on IBM mainframes running under MVS, VSE or VM operating systems.

You could write a decompiler, but if the code is not yours, meaning you purchased it from someone, then it is Illegal to decompile it.

live free or die
harry
Live Free or Die
Martin Johnson
Honored Contributor

Re: Cobol executable file

The source code is the vendors property. Sometimes you can buy the source code, but usually it is expensive.

Some debuggers will show you assembler code if the source is not available. This can be helpful in pinpointing a problem for the vendor.

There is also the problem of compiler optimizations. I tried to debug a C problem and the optimizer optimized half my variables away! That makes it hard to decompile a program.


Marty