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 |
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
What will happen if we generate GDG (+2) version without generating (+1) version?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
can we use COPY statement in w-s section? how?
How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.
Define cobol?
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this