

Packaging › z/OS Dynamic Linking › Features of Dynamic Link
Features of Dynamic Link
The use of the dynamic linking feature has the potential to reduce total memory and CPU resources required by a TP monitor to process a load module. Dynamic linking common routines eliminates the need to link all of the load modules that use it but applications generated for DB2 require a bind or rebind.
The following list shows the key features and requirements:
- Only procedure steps, action blocks, and screens can be linked dynamically.
- Each dynamic linked module must be a fully resolved module. If this fully resolved module is a DLL, this means Referential Integrity triggers, other action blocks called statically within a procedure step, screen, or action block must be compiled as DLL and with the applicable CA Gen runtimes must be linked into the dynamic linked DLL. If this fully resolved module is a Compatibility module, this means Referential Integrity triggers, other action blocks called statically within a procedure step, screen, or action block must be compiled as NODLL and with the applicable CA Gen runtimes must be linked into the dynamic linked Compatibility load module.
- The dynamically link packaging property of individual procedure steps, screens, and action blocks can be set to Default. Default indicates that the value of the dynamically link property for that component is determined by the corresponding default setting, which is established at the business system level.
- As of AllFusion Gen 7, all the generated dynamic linked modules (including EABs), that do not have a dynamically link packaging property of Compatibility, are generated and built as DLLs.
- Marking a module for Compatibility causes its calling module to be generated and installed so that it processes the call using a module provided as part of the CA Gen runtime. The runtime code performs the dynamic program call to the non-DLL load module. In the cases where a module marked for Compatibility issues a dynamic program call to another non-DLL dynamic load module, only the module issuing the first dynamic program call to a Compatibility module requires generation and installation.
- Applications that run under TSOAE and contain modules marked for Compatibility cannot dynamically call modules built with a release prior to AllFusion Gen 7.6.
- Enhanced Map Block Mode applications containing screens marked for Compatibility cannot dynamically call screen managers built with a release before AllFusion Gen 7.6.
- Modules marked for Compatibility must follow standard OS or LE linkage conventions and must operate in the same AMODE as the caller. These modules must be non-DLL and must be stand-alone, fully resolved programs, eligible for a dynamic, OS style call.
- The ability to call a procedure step, action block, or screen dynamically allows application changes to become effective without having to link every load module using these modules. However, changes made to a module that uses DB2 SQL requires that the DB2 plan corresponding to the load module containing that module be rebound.
- In CICS, a PPT entry is required for each module called dynamically. For more information about defining CICS programs, see CICS documentation.
Copyright © 2013 CA.
All rights reserved.
 
|
|