Compiling and Linking a C INMOD on an AMD Opteron System - Parallel Data Pump

Teradata Parallel Data Pump Reference

Product
Parallel Data Pump
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-3021
lifecycle
previous
Product Category
Teradata Tools and Utilities

Compiling and Linking a C INMOD on an AMD Opteron System

Use the following syntax example to compile a C INMOD on an Opteron client system running Solaris.

where

 

Syntax element

Description

cc

Invokes the native C compiler

dy

Specifies to use dynamic linking

G

Specifies to create a shared object

sourcefile

Is a C source module for the INMOD

o

Specifies the output file name

sharedobjectname

Specifies the resulting shared object module

This is the name specified:

  • The INMOD modulename parameter of the IMPORT command of the Teradata TPump job script.
  • The EXIT name parameter for the NOTIFY option of the BEGIN LOAD command of the Teradata TPump job script.
  • The sharedobjectname can be any valid UNIX file name.