You must use the Language Environment prelinker before standard linkage editing if a DLL must reside in a PDS load library rather than in a PDSE or an HFS file.
After compiling the DLL source, prelink the object modules to form a single object module:
Use the linkage editor or binder as usual to create the DLL load module from the object module produced by the prelinker. Specify the RENT option of the linkage editor or binder.
related tasks
Compiling programs to create DLLs
Linking DLLs