DYNAM
DYNAM affects whether the compiler dynamically loads subprograms that are invoked through the CALL literal statement.
- Default
- DYNAM=NO
- YES
- Dynamically loads subprograms that are invoked through the CALL literal statement.
Performance consideration: Using DYNAM=YES eases subprogram maintenance because the application is not relink-edited if the subprogram is changed. However, individual applications with CALL literal statements can experience some performance degradation due to a longer path length.
- NO
- Includes, in the calling program, the text files of subprograms called with a CALL literal statement into a single program object.
Note:
- The DYNAM option has no effect on the CALL identifier statement at compile time. The CALL identifier statement always compiles to a dynamic call.
- Do not specify DYNAM=YES for applications running under CICS®.
For further details, see DYNAM in the Enterprise COBOL Programming Guide.