What is the difference between static call & Dynamic call ?

Answer Posted / muttiah

PFB the difference between static and dynamic call.

Static Call: We can find whether a call is static or
dynamic in 2 ways. If the call statement is like this

call 'Progrname' ----> Static call
Call ws-variable ----> Dynamic call

By looking at the compiler options.
If Dynam -- Dynamic call, Nodynam ---> Static call..

No Dynam is default.

In Static call the load module of the sub program resides
in the same memory where the Main program resides.

Whereas in case of Dynamic call. The load module will be
called into memory only during run time. As a consequence.
The Static call is much faster..Dynamic call is slower.

Memory will be saved in case of dynamic call..

Static call is used for small sub programs.
Dynamic call is used for large sub programs.

Choosing the type of call either static or dynamic depends
on your requirement.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a disposition of (MOD,DELETE,DELETE) mean ?

873


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

1020


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1918


what sort card you will use to copy the data from one dataset to another dataset?

963


write a jcl to execute a job by 7:00 am on jan 20,1986?

891


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2516


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1070


How do you submit a job for execution?

835


how can you check if a file is empty using jcl?

1076


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1068


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

1191


How is the record format of an output dataset specified?

989


if the submitter of a job wants to inform another user about the job completion, how can it be done?

999


Where & How Do You Code Identifier In Jcl?

960


List in order the hierarchical levels of jcl?

873