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

01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2

9 Answers   HSBC,


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


what are the utilities for load and unload the DB2 tables

1 Answers   L&T,


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


example for sub strings ? and refernce modifications whit output pls

0 Answers   College School Exams Tests, IBM,






What is file status 39 ?

10 Answers   JPMorgan Chase,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


what is jcl approach for programming?

4 Answers   IBM,


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


how to transfer the file from pc to mainframe??

3 Answers  


When and how can we use index & subscript ?

2 Answers  


Categories