The methods for compiling and linking routines vary with the operating system. The following sections describe the methods for z/OS, UNIX OS, and Windows.
For sample programs and procedures that compile and link INMOD, OUTMOD, and Notify Exit routines for the operating system environment, see INMOD, OUTMOD, and Notify Exit Routine Examples.
Using z/OS
On mainframe-attached z/OS client systems, INMOD, OUTMOD, and Notify Exit routines must be compiled under IBM C.
UNIX OS
On workstation-attached UNIX client systems, INMOD, OUTMOD, and Notify Exit routines must:
- Be compiled with the native UNIX C compiler
- Be linked into a shared object module
- Use an entry point named _dynamn
Windows
On workstation-attached Windows client systems, INMOD, OUTMOD, and Notify Exit routines must:
- Be written in C
- Have a dynamn entry point that is a __declspec
- Be saved as a dynamic link library (DLL) file