what is static and dynamic call with examples?

Answer Posted / rangarao chitipothu

STATIC CALL: a call is a sub program at the time to compilation.here caller and called are one module.
--> It used more cpu time.
--> memory required can be more.


DYNAMIC CALL: a call to the subprogram at the time of execution(run time) is called dynamic call. here caller and called are separate load modules and they sharable by multiple calls.
--> it used less cpu time.
--> Memory required can be less.

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 one line to pass PARM from JCL to COBOL?

840


What is the purpose of dd?

728


Explain the function of job statement in jcl?

649


Can an individual step be restricted from using all the jobs allowed cpu time?

1009


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

777






Name what parameter directs the output of the job log dataset?

563


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1616


how can the same proc be re-used and called by many jobs?

912


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

860


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

820


How can unused space allocation be returned to the system when a dataset is closed?

812


How does jcl act on a cobol code?

659


What is the maximum length of a single line of jcl?

829


What is the function of the steplib dd statement?

744


What is the function of the dd avgrec keyword in sms datasets?

841