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

Checkpoint is a user-provided function that creates a checkpoint record for operators.

Structure

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

where the following is true:

Parameter Function Specification
operator input Operator handles associated with the Checkpoint function.
phase input Current processing phase number

Return Codes

The following Checkpoint function status codes are defined by the Teradata PT operator interface.

Status Code Signifies
PXSTC_EndMethod Successful checkpoint processing.

This status condition indicates that the checkpoint record was successfully written to the restart log by this function.

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

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

Usage Notes

Consider the following when using the Checkpoint function.

Topic Usage Note
Description Use the Checkpoint function to record the checkpoint information identified by the operator parameter. See also the Restart function.