What are differences between Static Call and Dynamic Call?
Answer Posted / siri
STATIC CALL:-
------------
STATIC CALL IS IDENTIFIED BY A CALL IS
LITERAL..EX:-CALL'PGM1'....COMPILER OPTION IS NO DYNAM...ALL LITERAL CALLS ARE CONSIDER AS STATIC CALLS...OBJECT CALLS ARE LINKED BEFORE THE EXECUTION..STATIC CALL IS FAST..LOAD MODULE WILL BE LARGE....LESS FLEXIBLE...SUB PROGRAMS UNDERGOES TO CHANGE NEED TO RECOMPILE MAIN PRG ALSO..
DYNAMIC CALL:-
------------
IDENTIFIED BY A CALL IS VARIABLE...MOVE 'PGM1' TO WS-PGM
CALL 'WS-PGM'
COMPILER OPTION IS DYNAM...OBJECT CODS ARE LINKED DURING THE EXECUTION....SO PRG FIRST MOVE TO THE WORKING STORAGE VARIABLE AND NEST CALL THE WORKING STORAGE VARIABLE...PROCESS IS SLOW SO DYNAMIC CALL IS SLOW COMPARE TO STATIC CALL.....ITS NO NEED TO RECOMPILE THE MAIN PROGRAM
WHEN EVER THE SUB PROGRAM UNDER GOES TO CHANGE...THIS IS THE
MAIN ADVANTAGE IS IN DYNAMIC CALL....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is report-item in COBOL?
Define cobol?
What is the local-storage section?
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
) what is the difference between AID and HANDLE AID?
What guidelines should be followed to write a structured cobol prgm?
Can a Search can be done on a table with or without Index?
how to refer the data field?
How you can read the file from bottom?
What are the cobol coding sheets?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between Call and a Link?
What are the different rules to perform a Search?