UNIX OS | SPARC Systems Running Oracle Solaris | Teradata FastLoad - SPARC Systems Running Oracle Solaris - FastLoad

Teradata® FastLoad Reference - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
FastLoad
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-17
dita:mapPath
dlf1641281592734.ditamap
dita:ditavalPath
vax1619194969834.ditaval
dita:id
wzs1478610185776
Product Category
Teradata Tools and Utilities

Use the following syntax to compile source files into a shared object module for INMOD or notify exit routines on a SPARC client system running Solaris:



where the following is true:

cc
Call to the program that invokes the native UNIX C compiler
-dy
Specifies to use dynamic linking
-G
Linker option that generates a shared object file
-KPIC
Compiler option that generates Position Independent Code (PIC)
-m64
Flag to build 64-bit shared libraries
-o
Specifies the output file name
shared-object-name
Name of the shared object file
This is the name specified as the:
  • 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.
When creating a shared object module for an INMOD routine, if the INMOD uses functions from an external library, then that library must be statically linked with the INMOD routine so that the Teradata FastLoad utility can resolve the external references.
sourcefile.c
UNIX file names of the source files for the INMOD or Notify Exit routine