UNIX OS | SPARC Systems Running Oracle Solaris | Teradata FastLoad - 17.10 - SPARC Systems Running Oracle Solaris - 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)

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:


Syntax for INMOD or notify exit routine for SPARC on Solaris client system

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