17.00 - Modify Job after Initiate - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide

Product
Parallel Transporter
Release Number
17.00
Published
November 30, 2020
Language
English (United States)
Last Update
2020-11-18
dita:mapPath
fcz1544831938753.ditamap
dita:ditavalPath
obe1474387269547.ditaval

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.