What is the difference between static call & Dynamic call ?

Answers were Sorted based on User's Feedback



What is the difference between static call & Dynamic call ?..

Answer / shankar v

when you know the program name to be called, you go for
STATIC call saying,
CALL 'PROGA'

when you dont know the program upfront while coding the
program you go for DYNAMIC call,
CALL WS_PROG (this is a working storage variable for which
the value will be passed to it during the execution of the
program.

And also a major difference between these 2 is the DYNAM
(FOR DYNAMIC CALL )& NODYNAM (FOR STATIC CALL) option on
the jcl. This is the factor which decides whether a call is
dynamic or static.

Is This Answer Correct ?    9 Yes 5 No

What is the difference between static call & Dynamic call ?..

Answer / 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

What is the difference between static call & Dynamic call ?..

Answer / guest

In the case of Static call, the called program is a stand
along program, it is an executable program . During run time
we can call it in our called program. As about Dynamic call,
the called program is not an executable program it can
executed thru the called program

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More JCL Interview Questions

what is the job entry system used in your project?

3 Answers  


How to alter the parameters for the existing gdg?

0 Answers  


How gdg are concatenated?

0 Answers  


how to do automated restart when a job abends?

0 Answers   IBM,


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,






Where can program checkpoints be stored for use in a restart?

0 Answers  


Explain the function of the steplib dd statement?

0 Answers  


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

0 Answers  


How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.

3 Answers  


we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?

4 Answers   HCL,


Why block size is multiple of lrecl in jcl?

0 Answers  


Categories