Answered Questions

  • What is the difference between static & dynamic call?

    in the case of static call the mainprogram and subpgms r loaded into the mainmemory initially.in the case of dynamic call only the mainpgm is loaded first and the subpgm is loaded only when a call to it is made.so the memory utilization is good in dynamic call.

    sadik s

    • Jun 4th, 2016

    Static and dynamic will be decided only on compiler if NODYNAM - it is static, if DYNUM then dynamic.

    Saurabh Bandyopadhyay

    • Mar 8th, 2016

    In case of Static Call, we use the call literal. For example, CALL PGM1. In case of dynamic call, we define a variable and pass the sub-program name to it before calling. Ex- 01 WS-VAR1 PIC...