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

If you are current on the owner of a set, what is the difference between obtain next and obtain first?

718


Can we redefine the field of x(200) to less than 200?

955


How can you get the ksds file records into your cobol program?

726


How do u write test cases?

1713


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2005






What is the problem of ordered sequential files access?

809


What is amode(31)

807


Describe the cobol database components?

776


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

2028


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.

2150


What is the difference between PIC 9.99 and 9v99 in COBOL?

849


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2210


What is the difference between goback, stop run and exit program in cobol?

1081


What are all the divisions of a COBOL program?

756


What are the different data types in cobol?

900