Teradata Parallel Data Pump
Teradata Parallel Data Pump Reference - Teradata Developer ...
Teradata Parallel Data Pump Reference - Teradata Developer ...
- 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 />
Using INMOD and Notify Exit Routines<br />
Using INMOD and Notify Exit Routines<br />
This section provides some specific information required for using INPUT and notify exit<br />
routines in <strong>Teradata</strong> T<strong>Pump</strong>. Topics include <strong>Teradata</strong> T<strong>Pump</strong>-specific restrictions, the<br />
<strong>Teradata</strong> T<strong>Pump</strong>/INMOD interface for different client operating systems, preparation of the<br />
INMOD program, INMOD input values, INMOD output values, and programming<br />
specifications for Unix-based and Windows clients.<br />
<strong>Teradata</strong> T<strong>Pump</strong>-specific Restrictions<br />
INMOD names should be unique within the system. INMODs are not re-entrant and cannot<br />
be shared by two <strong>Teradata</strong> T<strong>Pump</strong> (or FastLoad, MultiLoad, or FastExport) sessions at the<br />
same time.<br />
Some changes have been made to the INMOD utility interface for <strong>Teradata</strong> T<strong>Pump</strong> because of<br />
operational differences between <strong>Teradata</strong> T<strong>Pump</strong> and the older utilities. For compatibility<br />
with INMODs, the FDLINMOD parameter should be used. The use of this parm provides<br />
support of existing INMODs, with the following restrictions:<br />
• When the FDLINMOD parm is used, INMODs that are compatible with other utilities<br />
may be used. However, if a range of records is requested from an FDL-compatible INMOD<br />
(using FROM, FOR, or THRU on the IMPORT command), <strong>Teradata</strong> T<strong>Pump</strong> bypasses any<br />
default record checkpointing. If there is a recovery under these circumstances, <strong>Teradata</strong><br />
T<strong>Pump</strong> starts over and acquires the records again from the beginning of the range. Under<br />
these same circumstances, if checkpointing is requested by specifying the CHECKPOINT<br />
parameter on the BEGIN LOAD command, <strong>Teradata</strong> T<strong>Pump</strong> terminates with an error.<br />
• If a range of records is not requested when using an FDL-compatible INMOD, <strong>Teradata</strong><br />
T<strong>Pump</strong> performs checkpointing, either by default or by the user’s request. If there is a<br />
recovery and the INMOD supports recovery, <strong>Teradata</strong> T<strong>Pump</strong> continues its data<br />
acquisition from the last recorded checkpoint. However, the source sequence numbers<br />
generated by <strong>Teradata</strong> T<strong>Pump</strong> may not correctly identify the sequence in which the<br />
INMOD supplied the records. Despite this discrepancy, the data is still applied correctly.<br />
• An FDL-compatible INMOD routine cannot be specified in conjunction with the INFILE<br />
specification of a <strong>Teradata</strong> T<strong>Pump</strong> IMPORT command. If an INMOD is specified together<br />
with the INFILE specification, <strong>Teradata</strong> T<strong>Pump</strong> performs the file read operation and the<br />
INMOD acts as a pass-through filter. Since an FDL-compatible INMOD always performs<br />
the file read operation, it is not valid with a <strong>Teradata</strong> T<strong>Pump</strong> INFILE specification.<br />
Warning:<br />
The <strong>Teradata</strong> T<strong>Pump</strong> default is to take a checkpoint every 15 minutes. With other loading<br />
utilities, checkpointing must be explicitly requested. If an attempt to run with an INMOD that<br />
does not use checkpointing is made, problems may arise when <strong>Teradata</strong> T<strong>Pump</strong> defaults to a<br />
checkpoint mode. To avoid this condition, <strong>Teradata</strong> T<strong>Pump</strong> checkpointing by specifying zero<br />
can be disabled as the checkpoint rate parameter on the BEGIN LOAD command, so that the<br />
checkpoint is never reached. This may be imperative for users who do not have INMODs capable<br />
of checkpointing.<br />
<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 213