View previous topic :: View next topic |
Author |
Message |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Jan 09, 2007 7:02 pm Post subject: Load Module to Source Code |
|
|
Hi,
I was just wondering if there is some tool/application available, which can convert a cobol load module into cobol source code. _________________ Regards,
Programmer |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Jan 09, 2007 7:52 pm Post subject: |
|
|
Thanks Kolusu,
Yes, the AMBLIST did produce some listing, which was again greek to me.
1) Is there a guide to be able to read such listing?
2) Is there a tool to convert this listing into cobol words? _________________ Regards,
Programmer |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Jan 09, 2007 9:23 pm Post subject: |
|
|
what COBOL words are you expecting? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Jan 09, 2007 9:57 pm Post subject: |
|
|
Cobol words like "Move A TO B" , "READ FILEA" etc _________________ Regards,
Programmer |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Jan 09, 2007 10:09 pm Post subject: |
|
|
I just went back thru the link that Kolosu provided. The AMBLIST does not generate COBOL code. There is a REXX in that thread that appears to generate COBOL code. Did you try that? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Wed Jan 10, 2007 3:37 pm Post subject: |
|
|
Dick,
It seems you were just successful in killing my thread !
Can someone please help me with a guide/link to read the SYSPRINT log as the one created by AMBLIST ?
Also, if some tools are available to convert this listing into more readable format. Anything like Abend-Aid, which converts the assembler job output into a readable format. _________________ Regards,
Programmer |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Jan 10, 2007 4:16 pm Post subject: |
|
|
programmer1,
Hmm I don't get it. The link I have provided in my prior post has a rexx source which would read the AMBLIST output and produce a cobol psuedo code. The same was mentioned by Dbz. Why would you ask the same question again to provide the source to read the output from Amblist?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Wed Jan 10, 2007 7:48 pm Post subject: |
|
|
Sorry,
I didn't make myself clear.
AMBLIST is good but I would still want to know, how to read these logs. _________________ Regards,
Programmer |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Wed Jan 10, 2007 10:01 pm Post subject: |
|
|
Thank You Sir _________________ Regards,
Programmer |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Sun Feb 11, 2007 1:00 pm Post subject: |
|
|
This is news to me and great. I will try converting a LOD |
|
Back to top |
|
|
abhinav343 Beginner
Joined: 12 Jun 2007 Posts: 23 Topics: 12
|
Posted: Fri May 18, 2012 9:54 am Post subject: Pseudo Source from Load |
|
|
Kolusu,
I was trying to execute the AMBLIST Rexx code to get a pseudo code for cobol loads. Just wanted to understand few things about this portion of code :
when (substr(line.i,9,8))='00C3C5C5' then info='CM'line.l |
|
Back to top |
|
|
William Collins Supermod
Joined: 03 Jun 2012 Posts: 437 Topics: 0
|
Posted: Tue Jun 12, 2012 5:30 pm Post subject: Re: Pseudo Source from Load |
|
|
The rexx linked-to is not attempting to produce "pseudo-code" or any other sort of actual code. It is getting the information which the compiler puts into the "signature bytes" and such-like. Interesting and useful stuff, but not something which is going to give you either pseudo-assembler or Cobol code.
If you really want Cobol code you'll have to search for a source recovery company, it won't be cheap, and the data-names and procedure-names will be generated ones. |
|
Back to top |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Fri Jun 15, 2012 7:08 am Post subject: |
|
|
I always wonder why there is such a need to generate a source-code. Just out-of-curiosity? _________________ Regards,
Anuj |
|
Back to top |
|
|
|
|