Table 10 on page 37 defines the parameter data types of Teradata PT operator interface control functions.
Data Type |
Definition |
PX_Addr |
The address of a memory location. |
PX_AttributeCode |
An integer that represents the name of an object attribute. |
PX_AttributeName |
Pointer to a null-terminated character string that provides the name of an object attribute. |
PX_AttributeValue |
Pointer to an area for storage of an attribute value. |
PX_ByteOffset |
Integer that specifies the displacement in bytes from the first byte of a row. |
PX_Code |
Integer code that represents either: |
PX_ColumnCount |
Integer that specifies the column count. |
PX_ColumnHandle |
Integer that identifies the instance of a column. |
PX_ColumnName |
Pointer to a null-terminated character string that provides a column name. |
PX_ColumnSchemaHandle |
Integer that represents the instance of the column schema. |
PX_ColumnSchemaList |
Array of column schema handles. |
PX_Count |
Integer that specifies the count of some object. |
PX_DataAddr |
Address of the data. |
PX_DataType |
Integer code that represents the following defined data types of a column: |
PX_ErrorProc |
Function pointer that specifies an error exit function. |
PX_ErrorText |
Pointer to a character string that provides the error message. |
PX_FilterHandle |
Integer that identifies the instance of a filter. |
PX_GlobalHandle |
Integer that identifies the instance of a global. |
PX_Indicator |
Pointer to the array of indicator bytes specifying whether or not the corresponding column value is NULL. |
PX_Length |
Integer that specifies the size, in bytes, of an object. |
PX_LogHandle |
Integer that specifies a log stream definition. The structure is allocated by the Logger API. |
PX_LongInt |
Four-byte signed integer. |
PX_Name |
Pointer to a null-terminated character string that provides the name of an object. |
PX_Number |
Integer that specifies the number (instance) of an object. |
PX_OperatorHandle |
Integer code that identifies the instance of an operator. |
PX_Precision |
Integer that specifies a precision value (number of digits) for a numeric data type. |
PX_Scale |
Integer that specifies a scale value (number of digits to the right of the decimal point) for a numeric data type. |
PX_SchemaType |
Integer code that identifies one of the following schema types: |
PX_TableSchemaHandle |
Integer code that identifies the instance of the table schema. |
PX_TableSchemaList |
Array of table schema handles. |
PX_TruthValue |
Integer that specifies one of the following values: |
PXSTC_Code |
Integer that indicates the success or failure of a Teradata PT service function or operator routine. The defined codes are: |
(PXSTC_Code, continued) |
|
PXSTC_Code (continued) |
|