MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Load Module to Source Code
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Jan 09, 2007 7:02 pm    Post subject: Load Module to Source Code Reply with quote

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


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Jan 09, 2007 7:12 pm    Post subject: Reply with quote

programmer1,

Check this

http://www.mvsforums.com/helpboards/viewtopic.php?p=11166#11166

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Jan 09, 2007 7:52 pm    Post subject: Reply with quote

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


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Jan 09, 2007 9:23 pm    Post subject: Reply with quote

what COBOL words are you expecting?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Jan 09, 2007 9:57 pm    Post subject: Reply with quote

Cobol words like "Move A TO B" , "READ FILEA" etc
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Jan 09, 2007 10:09 pm    Post subject: Reply with quote

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


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Wed Jan 10, 2007 3:37 pm    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jan 10, 2007 4:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Wed Jan 10, 2007 7:48 pm    Post subject: Reply with quote

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


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jan 10, 2007 8:54 pm    Post subject: Reply with quote

programmer1,
How about this: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2V140/15.0?DT=20040109085116

which, by the way was also in the original link provided by kolusu.

kolusu,
i noticed that I misspelled your name in my previous post. I apologize for not making adequate effort to insure the quality of my posts.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Wed Jan 10, 2007 10:01 pm    Post subject: Reply with quote

Thank You Sir
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Sun Feb 11, 2007 1:00 pm    Post subject: Reply with quote

This is news to me and great. I will try converting a LOD
Back to top
View user's profile Send private message
abhinav343
Beginner


Joined: 12 Jun 2007
Posts: 23
Topics: 12

PostPosted: Fri May 18, 2012 9:54 am    Post subject: Pseudo Source from Load Reply with quote

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


Joined: 03 Jun 2012
Posts: 437
Topics: 0

PostPosted: Tue Jun 12, 2012 5:30 pm    Post subject: Re: Pseudo Source from Load Reply with quote

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


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Fri Jun 15, 2012 7:08 am    Post subject: Reply with quote

I always wonder why there is such a need to generate a source-code. Just out-of-curiosity?
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group