Teradata Parallel Data Pump
Teradata Parallel Data Pump Reference - Teradata Developer ...
Teradata Parallel Data Pump Reference - Teradata Developer ...
- 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 />
Using INMOD and Notify Exit Routines<br />
• The INMOD filename parameter specified on the IMPORT command must be the<br />
fully qualified UNIX pathname of the INMOD shared object file.<br />
• The parms string may include one or more character strings, each delimited on either end<br />
by an apostrophe, or delimited on either end by a quotation mark. The maximum size of<br />
the parms string is 1k bytes.<br />
• If a FastLoad INMOD is used, the parms string of the IMPORT command must be<br />
“FDLINMOD”.<br />
• The parms string as a whole must be enclosed in parentheses.<br />
• Parentheses within delimited character strings or comments have the same syntactical<br />
significance as alphabetic characters.<br />
• In the parms string that <strong>Teradata</strong> T<strong>Pump</strong> passes to the INMOD routine, each comment is<br />
replaced by a single blank character.<br />
• In the parms string that <strong>Teradata</strong> T<strong>Pump</strong> passes to the INMOD routine, each consecutive<br />
sequence of whitespace characters, such as blank, tab, and so on, that appears outside of<br />
delimited strings, is replaced by a single blank character.<br />
• FDLINMOD is used for compatibility by pointing to a data structure that is the same for<br />
FDL INMODs.<br />
<strong>Teradata</strong> T<strong>Pump</strong>/INMOD Interface on Windows Systems<br />
On Windows client platforms, <strong>Teradata</strong> T<strong>Pump</strong> is written in C and, therefore, the INMOD<br />
procedure is dynamically loaded at runtime, rather than link-edited into the <strong>Teradata</strong> T<strong>Pump</strong><br />
module or run as a separate executable program.<br />
The runtime loader requires that the INMOD module be compiled and linked as a Dynamic-<br />
Link Library (DLL) file, and that the point for the procedure be named _dynamn.<br />
The use of an INMOD is specified in the IMPORT command. On systems, <strong>Teradata</strong><br />
<strong>Data</strong>base interfaces only with written in C. An optional parms string to be passed to INMOD<br />
may also be specified on the IMPORT command. <strong>Teradata</strong> T<strong>Pump</strong> imposes the following<br />
syntax rules:<br />
• One INMOD is allowed for each IMPORT command. Multiple are allowed; these may use<br />
the same or different INMODs.<br />
• The input filename parameter specified on the IMPORT command must be the fully<br />
qualified Windows pathname for the input file.<br />
• The INMOD filename parameter specified on the IMPORT command must be the fully<br />
qualified Windows pathname of the INMOD DLL file.<br />
• The parms string may include one or more character strings, each delimited on either end<br />
by an apostrophe, or delimited on either end by a quotation mark. The maximum size of<br />
the parms string is 1k bytes.<br />
• If a FastLoad INMOD is used, the parms string of the IMPORT command must be<br />
“FDLINMOD”.<br />
• The parms string as a whole must be enclosed in parentheses.<br />
• Parentheses within delimited character strings or comments have the same syntactical<br />
significance as alphabetic characters.<br />
<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 215