Modify Job after Initiate - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide

Product
Parallel Transporter
Release Number
16.20
Published
November 2020
Language
English (United States)
Last Update
2020-11-19
dita:mapPath
ghk1527114222323.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2516
lifecycle
previous
Product Category
Teradata Tools and Utilities

The PutEvent function can be used to modify certain aspects of a job after the driver has already been initiated. The PutEvent function takes four arguments:

  • Type of modifier
  • A pointer to the buffer containing the input data for the modifier
  • The length of the buffer containing the input data for the modifier
  • A target table index. The target table index argument is not currently used by any modifier.
    conn->PutEvent(modiferType, ModifierData, modifierDataLen, tableIndex);

The PutEvent function can be called after the driver initiates and before it terminates. Some modifiers require that the job reach a certain point before they can be used to modify a job while others are available right after the driver initiates but become unavailable later in the job. TD_Unavailable is returned when a modifier cannot be used.