Use the following syntax example to compile a C INMOD on a z/Linux client.
Be sure to compile the INMOD and notify exit routines in 32-bit mode so that they are compatible with Teradata TPump.
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
- shared-object-name
- Name of the shared object file. 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 TPump job script.
- The EXIT name parameter for the NOTIFY option of the BEGIN LOAD of the TPump job script.
- -o
- Output file name