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 />

Compiling and Linking a C INMOD on a Sun Solaris Opteron<br />

Use the following syntax example to compile a C INMOD on a Sun Solaris Opteron client<br />

system.<br />

cc<br />

-dy<br />

-G<br />

sourcefile.c<br />

-o shared-object-name<br />

2409A055<br />

where<br />

Syntax Element<br />

cc<br />

-dy<br />

Description<br />

Invokes the MetaWare High C Compiler<br />

Specifies to use dynamic linking<br />

-G Specifies to create a shared object<br />

sourcefile<br />

Is a C source module for the INMOD<br />

-o Specifies the output file name<br />

shared-objectname<br />

Specifies the resulting shared object module<br />

This is the name specified:<br />

• The INMOD modulename parameter of the IMPORT command of the<br />

<strong>Teradata</strong> T<strong>Pump</strong> job script.<br />

• The EXIT name parameter for the NOTIFY option of the BEGIN LOAD<br />

command of the <strong>Teradata</strong> T<strong>Pump</strong> job script.<br />

The shared-object-name can be any valid UNIX file name.<br />

220 <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!