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.
Using z/OS
On mainframe-attached z/OS client systems, INMOD and notify exit routines must be compiled under IBM C.
Using UNIX OS
On network-attached UNIX client systems, INMOD 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
Using Windows
On network-attached Windows client systems, INMOD 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
For sample programs and procedures that compile and link INMOD and notify exit routines for the operating system environment, see INMOD and Notify Exit Routine Examples.