Compiling and Linking a C INMOD on a UNIX System-based Client - Parallel Data Pump

Teradata Parallel Data Pump Reference

Product
Parallel Data Pump
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-22
dita:mapPath
tqa1488824663174.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-3021
lifecycle
previous
Product Category
Teradata Tools and Utilities
For a description of the syntax diagrams used in this book, see How to Read Syntax Diagrams.

Compile Syntax

The following syntax example can be used to compile a C INMOD on a UNIX system-based client.



where the following is true:

cc
Program that invokes the native C compiler
c
Linker option specifying to compile without linking to produce an output file (a.out)
inmod.c
A C source module for the INMOD

Link Syntax

Use the following syntax example to link the object modules into a shared object module.



where the following is true:

ld
Invokes the UNIX linker editor
dy
Specifies to use dynamic linking
G
Specifies to create a shared object
inmod.o
Describes an object module derived from the compile step
o
Specifies the output filename; default is a.out
inmod.so
Specifies the resulting shared object module
This is the user-specified name in the IMPORT command.
Object modules can be linked into shared objects or shared libraries (for example, .so or .sl extension, respectively) on HP-UX Itanium.