IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Code through Load module


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
likki naveen reddy

New User


Joined: 28 Sep 2007
Posts: 3
Location: bangalore

PostPosted: Sun Aug 23, 2009 10:41 am
Reply with quote

Hi All..

Could any one please help me in getting code back in cobal using load module.

Thanks in Advance for your help.

Regards
Likki
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Aug 23, 2009 12:27 pm
Reply with quote

you would be better off trying to find
  • a compile listing (on dasd)
  • a ddio file
and rebuild the source from one of them. That is the only way you are going to come close to Reference names that mean anything.
if you have only the object,
there are 3rd party tools that you can buy that will generate a rather 'user-unfriendly' source.
Which means Reference Names will not be based on the original data definitions.
Short of that, you need to find a back-up.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 24, 2009 1:02 pm
Reply with quote

That should be typo -- nothing much to hype on that.

Dick,
Quote:
there are 3rd party tools that you can buy that will generate a rather 'user-unfriendly' source.
Do you have such a tool at your shop? I have never used such a tool but I always wonder how do they do it even if in a 'user-unfriendly' manner, what logic do they use aftetr all?

PS. Sorry if I'm going out of the way...
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 24, 2009 1:12 pm
Reply with quote

object modules have a record layout. different records for different requirements. it is just a matter of decoding the records, decoding the code and stuffing reference names after instructions. (actually, it is not that easy, but it can be done).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 24, 2009 7:17 pm
Reply with quote

Hello,

Quote:
I always wonder how do they do it even if in a 'user-unfriendly' manner, what logic do they use aftetr all
If they work from the load module only, there is nothing at all friendly about the generated source. . . There can't be as the load module does not have "user friendly" content. The kindest thing i can say is that sometimes the code will compile clean and when executed provide equivelent functionality.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top