DLL support in MVS™ is provided
by the z/OS® Language Environment® component.
Only programs that are Language Environment-enabled can serve as DLLs
or use DLL routines.
The DYNAM(DLL) option controls DLL processing. If DYNAM(DLL) is
specified the binder will:
- In some cases, create linkage descriptors in C_WSA
- Process IMPORT control statements
- Build a table of information about imported and exported functions
for the use of Language
Environment run-time routines. This will appear in the map as
class B_IMPEXP.
- Create a side file of IMPORT control statements, corresponding
to functions and data being exported by the module being built.
Note: The binder creates sections named IEWBLIT and IEWBCIE. Since
this could potentially cause conflict with user-created section names,
avoid using section names beginning with the characters IEWB.
For guidance on how to create DLLs and dynamic link libraries,
see Building and Using Dynamic Link Libraries (DLLs) in z/OS Language Environment Programming Guide.