TPT= LIBNAME Statement Option

Specifies whether SAS uses the Teradata Parallel Transporter (TPT) API to load data when SAS requests a Fastload, MultiLoad, or Multi-Statement insert.

Valid in: SAS/ACCESS LIBNAME statement
Category: Data Set Control
Default: YES
Data source: Teradata
See: BULKLOAD= LIBNAME option, BULKLOAD= data set option, LOGDB= LIBNAME option, MULTILOAD= data set option, MULTISTMT= data set option, TPT= data set option, TPT_APPL_PHASE= data set option, TPT_BUFFER_SIZE= data set option, TPT_CHECKPOINT= data set option, TPT_DATA_ENCRYPTION= data set option, TPT_ERROR_TABLE_1= data set option, TPT_ERROR_TABLE_2= data set option, TPT_LOG_TABLE= data set option, TPT_MAX_SESSIONS= LIBNAME option, TPT_MAX_SESSIONS= data set option, TPT_MIN_SESSIONS= data set option, TPT_PACK= data set option, TPT_PACKMAXIMUM= data set option, TPT_RESTART= data set option, TPT_TRACE_LEVEL= data set option, TPT_TRACE_LEVEL_INF= data set option, TPT_TRACE_OUTPUT= data set option, TPT_WORK_TABLE= data set option, Maximizing Teradata Load and Read Performance, Using the TPT API

Syntax

TPT=YES | NO

Syntax Description

YES

specifies that SAS uses the TPT API when Fastload, MultiLoad, or Multi-Statement insert is requested.

NO

specifies that SAS does not use the TPT API when Fastload, MultiLoad, or Multi-Statement insert is requested.

Details

Note: Starting in SAS 9.4M9, SAS/ACCESS no longer supports non-TPT FastLoad, MultiLoad, or Multi-Statement. In SAS 9.4M9 and later, setting TPT=NO is ignored.

By using the TPT API, you can load data into a Teradata table without working directly with such stand-alone Teradata utilities as FastLoad, MultiLoad, or TPump. When TPT=YES (the default), SAS uses the TPT API load driver for FastLoad, the update driver for MultiLoad, the TPT Export driver for FastExport, and the stream driver for Multi-Statement insert.

Example: Load SAS Data into Teradata

In this example, SAS data is loaded into Teradata using the TPT API. This is the default method of loading when Fastload, MultiLoad, or Multi-Statement insert are requested. SAS still tries to load data even if it cannot use the TPT API.

libname tera teradata user=myusr1 pw=mypwd1 TPT=YES;
/* Create data */
data testdata;
do i=1 to 100;
	output;
end;
run;

/* Load using MultiLoad TPT.  This note appears in the SAS 
   log if SAS uses TPT.  NOTE:  Teradata connection:  
   TPT MultiLoad has inserted 100 row(s).*/
data tera.testdata(MULTILOAD=YES);
set testdata;
run;
Last updated: February 3, 2026