15.00 - Compiling and Linking a Notify Exit Routine on IBM AIX - Parallel Data Pump

Teradata Parallel Data Pump Reference

prodname
Parallel Data Pump
vrm_release
15.00
category
Programming Reference
featnum
B035-3021-034K

Compiling and Linking a Notify Exit Routine on IBM AIX

Use the following syntax example to compile a Notify Exit Routine on an IBM AIX‑based client.

Compile Syntax

where

 

Syntax element

Description

cc

Is a call to the program that invokes the native UNIX C compiler

c

Is a compiler option that specifies to not send object files to the linkage editor

brtl

Tells the linkage editor to accept both .sl and .a library file types

fPIC

Is a compiler option that generates Position Independent Code (PIC) for all user exit routines

sourcefile.c

Is a C source module for the Notify Exit Routine.

Use the following syntax example to link the object modules into a shared object module.

Link Syntax

where

 

Syntax element

Description

ld

Invokes the UNIX linker editor

G

Produces a shared object enabled for use with the runtime linker

e_dynamn

Sets the entry point of the exit routine to _dynamn

bE : export_dynamn.txt

Is a linker option that exports the symbol "_dynamn" explicitly and the file export_dynamn.txt contains the symbol

objectfile.o

Is an object module created during compile step

o

Specifies the output file name

sharedobjectname

Specifies the resulting shared object module

This is the EXIT name parameter for the NOTIFY option of the BEGIN LOAD command of the Teradata TPump job script.

lm

Is a linker option specifying to link with the /lib/libm.a library

lc

Is a linker option specifying to link with the /lib/libc.a library