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
- -G
- Linker option that generates a shared object file
- -KPIC
- Compiler option that generates Position Independent Code (PIC) for all user exit routines
- -o
- Switch to the linker
- shared - object - name
- 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
- sourcefile
- UNIX file name(s) of the source file(s) for the INMOD or notify exit routine