UNIX OS | Linux | Teradata FastLoad - 17.10 - Linux - FastLoad

Teradata® FastLoad Reference

Product
FastLoad
Release Number
17.10
Published
June 2021
Last Update
2021-07-01
Content Type
Programming Reference
Publication ID
B035-2411-061K
Language
English (United States)
Last Update
2021-07-01
The INMOD and Notify Exit routines must be compiled in 64-bit mode on all platforms except for z/OS so that they are compatible with Teradata FastLoad.

Compile Syntax


Syntax for INMOD, OUTMOD, or Notify Exit routines for Linux client system

where the following is true:

gcc
Call to the program that invokes the native C compiler
-l<directory>
Specifies the location of header files
-shared
Flag that produces a shared object that can then be linked with other objects to form an executable
-m64
Generates code for a 64-bit environment.
-fPIC
Compiler option that generates Position Independent Code (PIC)
sourcefile.c
UNIX file names of the source files for the INMOD or Notify Exit routine
-o
Output file name
shared-object-name
Name of the shared object file
This is the name specified as:
  • INMOD= name parameter in the DEFINE command of the Teradata FastLoad job script
  • EXIT name parameter of the NOTIFY command of the Teradata FastLoad job script

    The shared-object-name can be any valid UNIX file name.