Event - Parallel Transporter

Teradata® Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
oee1544831943772.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2435
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Event is a user-provided function that allows operators to perform event processing or notification.

Structure

#include <pxoper.h>
PXSTC_Code PX_Event(PX_OperatorHandle  operator, PX_LongInt  phase);

where the following is true:

Parameter Function Specification
operator input Operator handle that is associated with the Event function.
phase input Current processing phase number.

Return Codes

The following Event function status codes are defined by the Teradata PToperator interface.

Status Code Signifies
PXSTC_EndMethod Successful execution of the operator.

This status condition indicates that the event was successfully processed by this function.

PXSTC_NextPhase Proceed with the next processing phase.
PXSTC_SamePhase Continue with the current processing phase.

Define additional Event function status codes as required to support your operator.

Usage Notes

Consider the following when using the Event function.

Topic Usage Notes
Description This function requires the caller to user the PutAttribute function to specify the event to be processed by the operator.

Also see Put Attribute.