UNIX OS | Opteron Systems Running Oracle Solaris | Teradata FastLoad - 17.10 - Opteron 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 an Opteron client system running Solaris:


Syntax for INMOD or Notify Exit routine for Opteron 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
Specifies to create a shared object
-xarch=generic64
Flag to build 64-bit shared libraries
-KPIC
Compiler option that generates Position Independent Code
-o
Specifies the output file name
sourcefile.c
UNIX file names of the source files for the INMOD or notify exit routine
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.