What is Static and Dynamic linking ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How do you reference the fixed block file formats from cobol programs
01 a pic s9(5) value '-12345' how it will be stored
How to resolve the soc4 and soc7 errors?
What is the purpose of Identification Division?
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
IF I mention stop run in CICS what happens?
What are the ways you can generate a copybook?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
How is sign stored in a comp-3 field?
What is the default value of DISP for temp datasets
How many maximum number of procedures can we write in one COBOL program?