LINUX - MultiLoad

Teradata® MultiLoad Reference

Product
MultiLoad
Release Number
16.20
Published
October 2018
Language
English (United States)
Last Update
2018-10-10
dita:mapPath
lsl1527114222348.ditamap
dita:ditavalPath
Audience_PDF_product_tpt_userguide_include.ditaval
dita:id
B035-2409
lifecycle
previous
Product Category
Teradata Tools and Utilities

To compile and link source files into a shared object module for INMOD or notify exit routines on LINUX client systems, use the following syntax.

Be sure to compile the INMOD and notify exit routines in 32-bit mode so they are compatible with Teradata MultiLoad.

Compile Syntax



where the following is true:

gcc
Call to the program that invokes the native C compiler
-m32
Generates code for a 32-bit environment. Sets int, long, and pointer to 32 bits.
-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
-o
Output file name
sourcefile
File name(s) of the source file(s) for the INMOD or notify exit routine
shared-object-name
Name of the shared object file
The shared-object-name can be any valid file name. This is the name specified as:
  • The INMOD modulename parameter of the IMPORT of the Teradata MultiLoad job script.
  • The EXIT name parameter for the NOTIFY option of the BEGIN MLOAD and BEGIN DELETE MLOAD of the Teradata MultiLoad job script.
For a description of the syntax diagrams used in this book, see How to Read Syntax Diagrams.