Compiling and Linking a C INMOD on a SPARC System - 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 SPARC client system running Solaris.



where the following is true:

cc
Invokes the native C compiler
-G
Specifies to create a shared object
-KPIC
Is a compiler option that generates Position Independent Code (PIC) for all user exit routine
sourcefile
Is a C source module for the INMOD
-o
Specifies the output file name
shared-object-name
Specifies the resulting shared object module
This is the name specified as:
  • The INMOD modulename parameter of the IMPORT command of the TPump job script
  • The EXIT name parameter for the NOTIFY option of the BEGIN LOAD command of the TPump job script
The shared-object-name can be any valid UNIX file name.