Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is the use of LoadModule other than Object Module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
john_oommen19

New User


Joined: 04 Mar 2005
Posts: 6
Location: coimbatore

PostPosted: Mon Apr 18, 2005 1:25 pm    Post subject: What is the use of LoadModule other than Object Module
Reply with quote

hai friends
in cobol pgms ,is we submit ,its converted to object module....then wats the need to have a load module....is the object module in executable format....?please give a valid reason y we want load module...?
Back to top
View user's profile Send private message
References
prasad_yadav20

New User


Joined: 12 Mar 2005
Posts: 13
Location: hyderabad

PostPosted: Mon Apr 18, 2005 5:03 pm    Post subject: Re: wat is the use of load?
Reply with quote

[quote="john_oommen19"]hai friends
in cobol pgms ,is we submit ,its converted to object module....then wats the need to have a load module....is the object module in executable format....?please give a valid reason y we want load module...?[/quote]

hi ,
actually load module in machine depending laguge,and this is give path for our prog,but object module can't.
Back to top
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 35
Location: Hyderabad,India

PostPosted: Mon Apr 18, 2005 5:41 pm    Post subject: Re: What is the use of LoadModule other than Object Module
Reply with quote

Hi,

Initially compiler converts ur source language statements into Asembly language statements called object module and this is furthur converted to
machine instructions called as load module which is in the executable format.

Thanks
venkat
Back to top
View user's profile Send private message
Arun Joseph

New User


Joined: 30 Mar 2005
Posts: 13
Location: India

PostPosted: Thu Apr 21, 2005 10:10 am    Post subject:
Reply with quote

Hi,
In a Compiler-Link Jcl there will be one Compiling step which takes ur pgm frm the location and creates the object. It may be saved to a PDS or to a temporary file. This object is passed to the link step. And the link step creates the load module. There r cases where there may be two link steps. The first one creates the CSECT and the second one creates the load module. Only the load module is executable. The object may not even be saved if it is created in a temporary file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1