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
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 a z/Linux Client

Use the following syntax example to compile a C INMOD on a z/Linux client.

Note: Be sure to compile the INMOD and notify exit routines in 32‑bit mode so that they are compatible with Teradata TPump.

where

 

Syntax Element

Description

gcc

Call to the program that invokes the native C compiler

m31

Generates code for a 32bit 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

sharedobjectname

Name of the shared object file. The sharedobjectname can be any valid file name. This is the name specified as:

  • The INMOD modulename parameter of the IMPORT of the MultiLoad job script.
  • The EXIT name parameter for the NOTIFY option of the BEGIN MLOAD and BEGIN DELETE MLOAD of the MultiLoad job script.
  • o

    Output file name