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 

Link step for Compilation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
Rohit Sharma
Beginner


Joined: 30 Jan 2004
Posts: 5
Topics: 3

PostPosted: Tue Feb 03, 2004 4:49 am    Post subject: Link step for Compilation Reply with quote

Hi,

I am running a load that is created with 5 object modules. I am not very clear on the the procedure of creating the load.

Compile job for each source

1. Step to compile using a compiler.
2. Run IEWL for Linking.

Link Step
1. Link the object modules obtaines from the above compilation step.

Now, I am not sure why do we need a link step during compilation. And what actually is done while linking.

Please provide me some info on compilation and linking stuff for my understanding.

Thanks,
Rohit.


Last edited by Rohit Sharma on Fri Feb 06, 2004 1:26 am; edited 1 time in total
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Feb 03, 2004 6:38 am    Post subject: Reply with quote

Rohit,

The compiler converts the source code to object code which is machine readable. This code cannot be executed as it does not include any calls to subroutines or MVS utilites such as I/O routines. These are added by the Linkage Editor. The linker searches system libraries to resolve references to routines or symbols that are not defined within the object modules it is linking. The main purpose for keeping this step seperate is the routines and symbols are system specific.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
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