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

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

Import begin 3 The first record is about to be read for<br />

each import task<br />

Import end 4 The last record has been read for each<br />

import task. The returned data is the<br />

record statistics for the import task<br />

Error table 5 Processing of the SEL COUNT(*)<br />

request completed successfully for the<br />

error table<br />

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

• Import number—4-byte 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 />

• Table name—128-byte character (maximum) array<br />

• Number of rows—4-byte unsigned integer<br />

<strong>Teradata</strong> <strong>Data</strong>base<br />

restart<br />

6 <strong>Teradata</strong> T<strong>Pump</strong> received a crash<br />

message from <strong>Teradata</strong> <strong>Data</strong>base or<br />

from the CLIv2<br />

No data accompanies the <strong>Teradata</strong> <strong>Data</strong>base restart<br />

event code<br />

CLIv2 error 7 <strong>Teradata</strong> T<strong>Pump</strong> received a CLIv2<br />

error<br />

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

<strong>Teradata</strong> <strong>Data</strong>base<br />

error<br />

8 <strong>Teradata</strong> T<strong>Pump</strong> received a <strong>Teradata</strong><br />

<strong>Data</strong>base error that will produce an<br />

exit code of 12<br />

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

Note: Not all <strong>Teradata</strong> <strong>Data</strong>base errors cause this<br />

event. A 3807 error, for example, while trying to drop<br />

or create a table, does not terminate <strong>Teradata</strong> T<strong>Pump</strong>.<br />

Exit 9 <strong>Teradata</strong> T<strong>Pump</strong> completed a load<br />

task<br />

Table statistics 10 <strong>Teradata</strong> T<strong>Pump</strong> has successfully<br />

written the table statistics<br />

Checkpoint end 11 <strong>Teradata</strong> T<strong>Pump</strong> successfully<br />

completed the checkpoint operation<br />

Exit code—4-byte unsigned integer<br />

• Type (I = Insert, U = Update, or D = Delete) —<br />

1-byte character variable<br />

• <strong>Data</strong>base name—64-character (maximum) array<br />

• Table/macro name—64-character (maximum)<br />

array<br />

• Activity count—4-byte unsigned integer<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!