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

Notify Exit Routines<br />

A notify exit routine specifies a predefined action to be performed whenever certain<br />

significant events occur during a <strong>Teradata</strong> T<strong>Pump</strong> job.<br />

Notify exit routines are especially useful in an operator-free environment where job<br />

scheduling relies heavily on automation to optimize system performance.<br />

For example, by writing an exit routine in C (without using CLIv2) and using the NOTIFY . . .<br />

EXIT option of the BEGIN LOAD command, a routine can be provided to detect whether a<br />

<strong>Teradata</strong> T<strong>Pump</strong> job succeeds or fails, how many records were loaded, what the return code<br />

was for a failed job, and so on.<br />

Programming Languages<br />

<strong>Teradata</strong> T<strong>Pump</strong> is written in:<br />

• IBM C for channel-attached z/OS client systems<br />

• C for network-attached UNIX and Windows client systems<br />

INMOD and notify exit routines can be written in the programming languages listed in<br />

Table 31. They are dependent on the platform which runs <strong>Teradata</strong> T<strong>Pump</strong>:<br />

Table 31: INMOD Routines<br />

Platform<br />

Routines<br />

z/OS • INMOD routines in IBM C<br />

• Notify exit routines in IBM C<br />

UNIX, Windows • INMOD and notify exit routines in C<br />

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