View previous topic :: View next topic
|
Author |
Message |
john_oommen19
New User
Joined: 04 Mar 2005 Posts: 6 Location: coimbatore
|
|
|
|
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 |
|
|
prasad_yadav20
New User
Joined: 12 Mar 2005 Posts: 13 Location: hyderabad
|
|
|
|
[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 |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
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 |
|
|
Arun Joseph
New User
Joined: 30 Mar 2005 Posts: 13 Location: India
|
|
|
|
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 |
|
|
|