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

explain sorting techniques in cobol program?

924


what is the use of outrecord?

2004


How do you reference the following file formats from cobol programs?

959


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2354


what is search and searchall?what is the diffrence between them?give an best example?

6274


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1006


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1383


Name some of the examples of COBOl 11?

2913


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

893


What is the utilization of copybook in cobol?

911


) How do u handle errors in BMS macro?

1667


how do you reference the ksds vsam file formats from cobol programs

915


Write a program that uses move corresponding.

903


Have you used comp and comp-3 in your project? And how?

2242


How do u write test cases?

1857