Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Performance considerations of static and dynamic calls

Because a statically called program is link-edited into the same load module as the calling program, a static call is faster than a dynamic call. A static call is the preferred method if your application does not require the services of the dynamic call.

Statically called programs cannot be deleted using CANCEL, so static calls might take more main storage. If storage is a concern, think about using dynamic calls. Storage usage of calls depends on whether:

related concepts  
When to use a dynamic call with subprograms

related tasks  
Making static calls  
Making dynamic calls


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)