Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> COBOL Programming
View previous topic :: :: View next topic  
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

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: 54
Location: Earth

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am
No new posts Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm
No new posts user abend 4038 occurred in module CE... Musab Ahmed PL/I & Assembler 1 Wed Mar 30, 2016 10:49 am
No new posts Cobol DB2 package accessing differen... Mainak_Dalal DB2 1 Tue Jan 26, 2016 12:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us