Compiling and Linking a C INMOD on a z/Linux Client - Parallel Data Pump

Teradata® Parallel Data Pump Reference

Product
Parallel Data Pump
Release Number
16.20
Published
September 2019
Language
English (United States)
Last Update
2019-10-11
dita:mapPath
dmq1512702641516.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-3021
lifecycle
previous
Product Category
Teradata Tools and Utilities

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