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

Overview<br />

Table 37: Events Passed to the Notify Exit Routine (continued)<br />

Event<br />

Event<br />

Code Event Description <strong>Data</strong> Passed to the Notify Exit Routine<br />

Interim run<br />

statistics<br />

12 <strong>Teradata</strong> T<strong>Pump</strong> is updating the<br />

Monitor Interface table, has just<br />

completed a checkpoint, or has read<br />

the last record for an import task. The<br />

returned data is the statistics for the<br />

current load<br />

• Import number—4-byte unsigned integer<br />

• Statements sent to <strong>Teradata</strong> <strong>Data</strong>base—4-byte<br />

unsigned integer<br />

• Requests sent to <strong>Teradata</strong> <strong>Data</strong>base—4-byte<br />

unsigned integer<br />

• Records read—4-byte unsigned integer<br />

• Records skipped—4-byte unsigned integer<br />

• Records rejected—4-byte unsigned integer<br />

• Records sent to <strong>Teradata</strong> <strong>Data</strong>base—4-byte<br />

unsigned integer<br />

• <strong>Data</strong> errors—4-byte unsigned integer<br />

DML error 13 <strong>Teradata</strong> T<strong>Pump</strong> received a <strong>Teradata</strong><br />

<strong>Data</strong>base error that was caused by<br />

DML and will introduce an error-row<br />

insert to the error table<br />

• Import number—4-byte unsigned integer<br />

• Error code—4-byte unsigned integer<br />

• Error message—256-character (maximum) array<br />

• Record number—4-byte unsigned integer<br />

• Apply number—1-byte unsigned char<br />

• DML number—1-byte unsigned char<br />

• Statement number—1-byte unsigned char<br />

• Record data—64,004-character (maximum) array<br />

• Record data length—4-byte unsigned integer<br />

• Feedback—a pointer to 4-byte unsigned integer<br />

“Feedback” always points to integer 0 when it is passed<br />

to the user exit routine. The user may change the value<br />

of this integer to 1 to instruct <strong>Teradata</strong> T<strong>Pump</strong> not to<br />

log the error to the error table. In this case, <strong>Teradata</strong><br />

T<strong>Pump</strong> will not log the error, but continue other<br />

regular process on this error.<br />

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