16.20 - FNC_TblOpWriteBuf - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

Provides access to the current output buffer.

Syntax

int
FNC_TblOpWriteBuf(BYTE *bufptr,
                  int   length)
BYTE *bufptr
a pointer to the current output buffer.
int length
the length in bytes of the output buffer.

Return Value

An integer that indicates TBLOP_SUCCESS, TBLOP_ABORT, or TBLOP_ERROR.

Usage Notes

This function passes a pointer to the current output buffer. It is used for high performance direct buffer write access and requires that the buffer be in a standard row format. The buffer format will be IndicData.