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

How does jcl act on code(if you take a cobol program)?

955


How can the disposition of sysout datasets be set for an entire jobstream?

1075


How is a type of file defined in the jcl that executes the cobol program?

907


Is their any set of rules for dd? Explain.

849


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1971


What are the rules employed while naming the steps in a job?

900


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

1086


How is the record format of an output dataset specified?

971


what operation is performed by job statement?

834


List the different components of jcl statement?

859


What is catelog procedure and how many catelog procedure to use in one job?

8009


which utility is used a dummy utility?

1067


Explain how can the attributes of one sms dataset be copied to another dataset?

937


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1978


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

1037