GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  COBOL
Go To First  |  Previous Question  |  Next Question 
 COBOL  |  Question 130 of 162    Print  
What's the difference between static and a dynamic call with respect to their load module creation?

  
Total Answers and Comments: 2 Last Update: January 08, 2008     Asked by: amrish 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 19, 2007 04:13:35   #1  
sravanth_bobby Member Since: December 2007   Contribution: 2    

RE: What's the difference between static and a dynamic call with respect to their load module creation?
if Prog A calls Prog B statically then they have a single load module say LOAD A

if Prog A calls Prog B dynamically then Prog A has a load module say LOAD A & Prog B has a seperate Load module say LOAD B.

 
Is this answer useful? Yes | No
January 08, 2008 10:50:24   #2  
lfrank Member Since: January 2008   Contribution: 9    

RE: What's the difference between static and a dynamic call with respect to their load module creation?
A statically linked subroutine becomes part of the load module at link-edit time. At execution time the routine is present when the module is brought into memory from the load library.

A dynamically linked subroutine only establishes "link points" during link-edit. At execution time the routine is not present when the module is brought into memory but is 'dynamically' loaded when it is called.

The static approach is more efficient but if the subroutine is changed every program calling it needs to be relinked. With the dynamic approach relinking is unnecessary since the latest module is loaded from the load library.

 
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                              ...

NEXT SENTENCE gives control to the verb following the next period. CONTINUE gives control to the next verb after the explicit scope terminator. (This is not one of COBOL II's finer implementations). 
Latest Answer : Next sentence: The sentence is the collection of statements and is always end with period(.).so next sentence means the control passes to next sentence after period.e.g.: if X=3 Compute X=X-3 Next sentence End-if ...

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. ...

A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decremented by ADD TO and SUBTRACT FROM statements. An 
Latest Answer : We can use up by 1/down by 1 in Index but in Subscript we should keeping adding 1. ...

Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc?
An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference. An internal sort can use two different syntaxes: 1.) USING, GIVING sorts are 

Comp is a binary usage, while comp-3 indicates packed decimal. The other common usages are binary and display. Display is the default. 3/28/00 Dave Herrmann: 'I was reading your FAQ on Cobol, as 
Latest Answer : Binary representation of data item are called 'comp', while comp-3 is the packed decimal.comp-1 & comp-2 are another usage.  ...

What is the difference between a binary search and a sequential search? What are the pertinent COBOL commands?
In a binary search the table element key values must be in ascending or descending sequence. The table is 'halved' to search for equal to, greater than or less than conditions until the element 

Latest Answer : For all of you out who have not heard about comp-4. Wake up. Comp-4 does exist and it is just like comp - ie. it is a half-word (2 bytes).This might help those of you who are confused about comp fields:COMP     half word           ...

What is the difference between write & move in COBOL.? What is the meaning of 'TALLING' verb in cobol? What is the meaning of 'Eject' verb in cobol?
Read Answers (10) | Asked by : sanjib goswami

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


 Sponsored Links

 
Related Articles

C++ Static Functions

C Static Functions Static member functions have a class scope and they do not have access to the this pointer of the class When a member is declared as static a static member of class it has only one data for the entire class even though there are many objects created for the class The main usage of
 

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
 

CSS3 Links Creation and Usage

CSS3  Links Creation and Usage Links are very vital for any web page to navigate through the site and so is also with CSS3 In CSS3 it is possible to handle links even more powerful and effectively as it is possible to handle various states of links which are link visited hover and active s
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 

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