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 |
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
why 02 level number can't be use as a separate level number like 01 or 77 ?
In an EVALUTE statement is the order of the WHEN clauses significant?
What do you do to resolve SOC-7 error?
What is the meaning of 'Eject' verb in cobol?
What are the differences between COBOL and COBOL II?
how to change picture class of copy book variable inside program?
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
Can anybody give me example of subscript and index
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
Give some examples of command terminators?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?