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 |
In INITIALIZE what is Repalcing Word will do
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the use of LINKAGE SECTION?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
what r the types of perform statement
In EBCDIC, how would the number 1234 be stored?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
What will happen if we generate GDG +2 version instead of +1 version?
what is SYNCHRONIZATION?
Syntax for JCLLIB & JOBLIB???