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 |
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
How you can delete a record from a ps file in cobol?
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
I have a occurs for 100 times but it has executed 101 time what could be the reason?
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
What are VS COBOL 11 special features?
What is the difference between subscript and index?