Compiling and Linking a C INMOD on a z/Linux Client

Teradata Parallel Data Pump Reference

brand
Teradata Tools and Utilities
prodname
Parallel Data Pump
vrm_release
15.00
category
Programming Reference
featnum
B035-3021-034K

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