16.10 - Solaris Running on a SPARC System - Parallel Transporter

Teradata Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.10
Published
July 2017
Content Type
Programming Reference
Publication ID
B035-2436-077K
Language
English (United States)

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



where:

UNIX Operating System Syntax for Notify Exit Routines 
Syntax Element Description
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 notify exit routines.
-o Switch to the linker.
shared-object-name Name of your shared object file. The shared-object-name can be any valid UNIX file name.

This is the name you specify in the NotifyExit attribute value supplied in the operator definition section of a job script.

When creating a shared object module for a notify exit routine, if the notify exit routine uses functions from an external library, then that library must be statically linked with the notify exit routine so that Teradata PT can resolve the external references.
sourcefile UNIX file name(s) of the source file(s) for your notify exit routine.