Previous Page | Next Page

Data Set Options for Relational Databases

TPT_ERROR_TABLE_1= Data Set Option



Specifies the name of the first error table for SAS to use when using the TPT API with Fastload or MultiLoad.
Default value: table_name_ET
Valid in: DATA and PROC steps (when accessing DBMS data using SAS/ACCESS software)
DBMS support: Teradata

Syntax
Syntax Description
Details
Example
See Also

Syntax

TPT_ERROR_TABLE_1=valid_teradata_table_name

Syntax Description

valid_teradata_table_name

specifies the name of the first error table for SAS to use when using the TPT API to load data with Fastload or MultiLoad.


Details

To use this option, you must first set TPT=YES. This option is valid only when using the TPT API.

Fastload and MultiLoad require an error table to hold records that were rejected during the acquisition phase. If you do not specify an error table, Teradata appends "_ET" to the name of the target table to load and uses it as the first error table by default. You can override this name by setting TPT_ERROR_TABLE_1=. If you do this and the load step fails, you must specify the same name when restarting. For information about errors that are logged in this table, see your Teradata documentation.

The name that you specify in TPT_ERROR_TABLE_1= must be unique. It cannot be the name of an existing table unless it is in a restart scenario.


Example

In this example, a different name is provided for both the first and second error tables that Fastload and MultiLoad use with the TPT API.

libname tera teradata user=testuser pw=testpw;
/* Load using Fastload TPT.  Use alternate names for the error tables. */
data tera.testdata(FASTLOAD=YES TPT_ERROR_TABLE_1=testerror1 
    TPT_ERROR_TABLE_2=testerror2);
i=1;output; i=2;output;
run;


See Also

Maximizing Teradata Load Performance

Using the TPT API

BULKLOAD= LIBNAME Option

BULKLOAD= Data Set Option

MULTILOAD= Data Set Option

TPT= LIBNAME Option

TPT= Data Set Option

TPT_ERROR_TABLE_2= Data Set Option

TPT_LOG_TABLE= Data Set Option

TPT_WORK_TABLE= Data Set Option

Previous Page | Next Page | Top of Page