which is better either static call or dynamic call?
and why?

Answer Posted / siri

STATIC CALL:-THE SUB PROGRAM CODE WILL BE SMALL AT THE TIME WE PREFERED STATIC CALL...STATIC CALL IS FAST COMPARING TO THE DYNAMIC CALL...OBJECT CODES ARE LINKED BEFORE THE EXECUTION....
DYNAMIC CALL:- SUB PROGRAM IS CALLED FREQUENTLY WE USED TO DYNAMIC CALL...OBJECT CODES ARE LINKED DURING THE EXECUTION...
SO THE PROCESS WILL BE SLOW COMPARING THE STATIC CALL..ITS NO NEED TO RECOMPILE WHEN THE SUBPROGRAM NEED TO BE MODIFIED...THIS IS BIGGEST ADVANTAGE OF THE DYNAMIC CALL....SO
FIRST WE PREFERED TO THE DYNAMIC CALL.....S

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between comp and comp-3?

880


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.

1151


How to know whether the module is dynamical or statistical?

857


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1016


what is the difference between COBOL2 AND COBOL390?

2700






What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

894


Are you comfortable in cobol or jcl?

792


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1726


What are 77 levels used for?

836


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2941


Explain how to differentiate call by context by comparing it to other calls?

891


What is the utilization of copybook in cobol?

865


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2215


What is the difference between PIC 9.99 and PIC9v99?

1020


What is perform what is varying?

900