25.09.2015 Views

Teradata Parallel Data Pump

Teradata Parallel Data Pump Reference - Teradata Developer ...

Teradata Parallel Data Pump Reference - Teradata Developer ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5: Using INMOD and Notify Exit Routines<br />

Programming INMODs for UNIX-based Clients<br />

Syntax Element<br />

inmod.so<br />

Description<br />

Specifies the resulting shared object module<br />

This is the user-specified name in the IMPORT command.<br />

Compiling and Linking a C INMOD on HP-UX Itanium<br />

Use the following syntax example to compile a C INMOD on an HP-UX Itanium-based client.<br />

Compile Syntax<br />

cc +u1 -D_REENTRANT +DD64 -c<br />

inmod.c<br />

2409A057<br />

where<br />

Syntax Element<br />

cc<br />

Description<br />

Invokes the MetaWare High C compiler<br />

+u1 Is a compiler option that allows pointers to access non-natively aligned data<br />

-D_REENTRANT<br />

+DD64<br />

Ensures that all the Pthread definitions are visible at compile time<br />

Generates 64-bit object code for PA2.0 architecture<br />

-c Compiles one or more source files but does not enter the linking phase<br />

inmod.c<br />

A C source module for the INMOD<br />

Use the following syntax example to link the object modules on HP-UX Itanium into the<br />

shared object.<br />

Link Syntax<br />

ld -n -b inmod.o -lc -o<br />

inmod.so<br />

2409A056<br />

where<br />

Syntax Element<br />

ld<br />

Description<br />

Invokes the UNIX linker editor<br />

222 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!