17.10 - Modify Job after Initiate - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide

Product
Parallel Transporter
Release Number
17.10
Release Date
June 2021
Content Type
Programming Reference
Publication ID
B035-2516-061K
Language
English (United States)

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.