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

Teradata® FastLoad Reference

Product
FastLoad
Release Number
17.10
Published
June 2021
Language
English (United States)
Last Update
2021-07-01
dita:mapPath
ruk1608578422758.ditamap
dita:ditavalPath
vax1619194969834.ditaval
dita:id
B035-2411
lifecycle
previous
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