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

how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


Name the divisions, which are available in a cobol program?

0 Answers  


What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,


What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


What is LENGTH in COBOL II?

2 Answers   CSC,






how you will define variables length in cobol.

3 Answers   Temenos,


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

3 Answers  


What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?

1 Answers   Kuwait Oil Company,


What does the initialize statement do ?

2 Answers  


What are different file OPEN modes available in COBOL?

4 Answers   Sun Life,


Categories