GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  COBOL
Go To First  |  Previous Question  |  Next Question 
 COBOL  |  Question 156 of 162    Print  
What is Load module & Link edit and How will it work Dynamic call?
Normally we are using Dynamic call. What will happen when COBOL program compilation & execution.


  
Total Answers and Comments: 2 Last Update: September 16, 2009     Asked by: gilbat82 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 28, 2008 11:23:43   #1  
marialeninraj84 Member Since: November 2008   Contribution: 2    

RE: What is Load module & Link edit and How will it work Dynamic call?
To run the cobol program first it go through compiler to get object code which will go through LINK EDIT to produce Load module which would be a executable code. For the Dynmic calls both calling and called programs are compiled and linkedited separately to produce the load modules but we have to use dynam compiler option while compiling the main pgm.

 
Is this answer useful? Yes | No
September 14, 2009 00:05:34   #2  
venkat65318 Member Since: September 2009   Contribution: 4    

RE: What is Load module & Link edit and How will it work Dynamic call?
Link edit is the process of linking of object codes of similar programs to form a single executable load module.

Linkage of object codes of mainprogram and subprogram is done during execution.

 
Is this answer useful? Yes | No

 Related Questions

There are at least five differences: COBOL II supports structured programming by using in line PERFORMs and explicit scope terminators, it introduces new features (EVALUATE, SET .. TO TRUE, CALL .. BY 
Latest Answer : The END Delimiter --> END-READ                               END-PERFORM                              ...

The PERFORM and END-PERFORM statements bracket all COBOL II statements between them. The COBOL equivalent is to PERFORM or PERFORM THRU a paragraph. In line PERFORMs work as long as there are no internal 
Latest Answer : In In-line PERFORM the procedure name is omitted. An In-line PERFORM must be delimited by the END-PERFORM statement.SYNTAX:          PERFORM                   ...

The parameters passed in a call by context are protected from modification by the called program. In a normal call they are able to be modified.  
Latest Answer : In call by content a copy of variable is passed to the sub program. In case of call by address the address is passed. ...

Latest Answer : CALL is an actual COBOL verb which invokes an external program and then returns. LINK does much the same, but is a CICS verb, not a COBOL one. ...
Read Answers (8) | Asked by : kavitha

1) Is more than one record description is allowed in a FD?2) Is NUMERIC EDIT fields can be used for Arithmatic operations?3) Is COMPUTE P,Q,W = A+ B/C -E ** 2 is a valid statement?4) Is LINKAGE SECTION is mandatory in a sub program?5) In edit fiels the character used for check protection is __________6) COMP-2 occupies _________ bytes?7) Maximum length of a numeric item ________ ?

Latest Answer : static call :the subprogram will call like 'subpgmname'dynamic call : the sub program will be calling with variable.ex :01 spgm pic x(5).  move subpgm to wspgmcall spgmstatic :call a single programdynamic : we can call many programs,                ...
Read Answers (5) | Asked by : russal

in the case of static call the mainprogram and subpgms r loaded into the mainmemory initially.in the case of dynamic call only the mainpgm is loaded first and the subpgm is loaded only when a call to it 
Latest Answer : [See Question #3] ...
Read Answers (5) | Asked by : manasa thomas

What will happen if we give GOBACK statement instead of STOPRUN in a program which does not call any other program?
Read Answers (3) | Asked by : Jeeva

State difference between reading a file by using start command and reading a file using the key value? (Both are in dynamic access mode)

Latest Answer : Call by reference is default call in Cobol. Call by Value: In call by value both the actual and dummy parameters will occupy different memory space. so the changes made in the subprog will not affect(/modify) the actual parameters in the main prog. Call ...
Read Answers (3) | Asked by : shivanag


 Sponsored Links

 
Related Articles

High Level Data Link Control (HDLC)

High Level Data Link Control HDLC The High Level Data Link Control protocol was developed by the International Organization for Standardization ISO It is used for switched and non switched networks and is a bit oriented architecture The High Level Data Link Control has been accepted and used widel
 

Synchronous Data Link Control (SDLC)

Synchronous Data Link Control SDLC The SDLC or the Synchronous Data Link Control was first developed by IBM It is basically a linked layer protocol which can be used with systems network architecture or the SNA environment In this system all the functions in a network can be defined and slotted into
 

How EDI work with XML

How EDI work with XML EDI and XML systems have been seen as the opportunity to create a holistic approach to data information exchange that can deliver and process simple durable and effective business transactions by electronic means To achieve this methods must be employed that are not only of val
 

How does the function call within function get evaluated?

Whenever we have more than one function which is called for a finite number of times then such a function gets evaluated from inside out. Let us understand this concept with an example. For instance consider a function sample called within it 4 times as given in program below: main() { int a=50;
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape