To compile and link source files into a shared object module for INMOD and notify exit routines on z/Linux client systems, use the following syntax:
Compile Syntax
where the following is true:
- gcc
- Call to the program that invokes the native C compiler
- -m31
- Generates code for a 32-bit environment
- -shared
- Flag that produces a shared object that can then be linked with other objects to form an executable
- -fPIC
- Compiler option that generates Position Independent Code for all user exit routines
- -o
- Output file name
- sourcefile
- UNIX file name(s) of the source file(s) for the INMOD or notify exit routine
- shared-object-name
- The shared-object-name can be any valid file name. This is the name specified as:
- The INMOD modulename parameter of the IMPORT of the Teradata MultiLoad job script.
- The EXIT name parameter for the NOTIFY option of the BEGIN MLOAD and BEGIN DELETE MLOAD of the Teradata MultiLoad job script.
For a description of the syntax diagrams used in this book, see How to Read Syntax Diagrams.