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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Programming INMODs for a Windows Client<br />

Programming INMODs for a Windows Client<br />

The previous section lists INMOD preparation techniques that apply to all platforms. There<br />

are several additional rules to follow when developing C INMODs for Windows clients. These<br />

are:<br />

• The INMOD routine must be written in C<br />

• The INMOD routine must have an entry point named _dynamn and declared with<br />

_declspec keyword<br />

• The file must be saved as a DLL file<br />

Compiling and Linking a C INMOD on a Windows Client<br />

Use the following syntax example to create a DLL on a Windows client.<br />

cl /DWIN32 / LD inmod.c<br />

3021B012<br />

where<br />

Syntax Element<br />

cl<br />

D<br />

LD<br />

inmod.c<br />

Description<br />

Invokes the Microsoft C Compiler<br />

Defines a macro<br />

Creates a .dll<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!