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

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

0 Answers  


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  






What is Redefines clause?

8 Answers  


What should be the sorting order for SEARCH ALL?

5 Answers  


Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,


Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.

11 Answers   Deloitte,


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


How to read a 100 record from a file through cobol?

2 Answers  


Categories