What is Static and Dynamic linking ?

Answers were Sorted based on User's Feedback



What is Static and Dynamic linking ?..

Answer / akviswa

Ex for static linking-

Call "PGMNAME"

Dynamic linking-

01 ws-pgmname pic x(8) value "PGMNAME".

Call ws-pgmname

Is This Answer Correct ?    5 Yes 2 No

What is Static and Dynamic linking ?..

Answer / vampire

good example for this is call by refference and call by value


call by refference it is a static linking once subprogram
modified it effects the main program


call by value is dynamic linking modifying the subprogram
wont effect the main program

Is This Answer Correct ?    2 Yes 3 No

What is Static and Dynamic linking ?..

Answer / ms. stanley

If the Subroutine Load is created dynamically when the
program is executed and the load is available for Linking at
run-time is called as Dynamic Linking
When the Subroutine load is separately available for Linking
is called as Static Linking

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More COBOL Interview Questions

Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

5 Answers   IBM,


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


Describe the cobol database components?

0 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,


How do define dynamic array in cobol.

0 Answers  


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

0 Answers   Amdocs,


Describe the difference between subscripting and indexing ?

2 Answers  


input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 Answers  


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


How to Pass table from a cobol program to another cobol program and how to use that table in called program

8 Answers   Patni, SunGard,


Categories