Compiling and Linking a C INMOD on a 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 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
Invokes the C compiler on Linux
shared
Produces a shared object, which can then be linked with other objects to form an executable
-m32
Generate code for a 32-bit environment. The 32-bit environment sets int, long and pointer to 32 bits.
-fPIC
Produces Position Independent Code
-o
Specifies the output file name