Dynamic/static call
Posted: Sat Jul 10, 2010 12:17 am
How can we find out in a program if it is a dynamic/static call apart from dynam/no dynam option?
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
Your statement is not true all the time. From the COBOL Programming Guide manual:The static form of the CALL statement specifies the name of the subroutine as a literal; e.g., it is in quotes.
So a statement in the form of CALL 'ABCDEFGH' may be static OR dynamic, depending upon the compiler options used.2.4.20 DYNAM
Use DYNAM to cause nonnested, separately compiled programs invoked through the CALL literal statement to be loaded for CALL, and deleted for CANCEL, dynamically at run time. (CALL identifier statements always result in a runtime load of the target program and are not affected by this option.)