13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 TPT_LOG_TABLE= Data Set Option 383Valid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: TeradataSyntaxTPT_LOG_TABLE=valid_teradata_table_nameSyntax Descriptionvalid_teradata_table_namespecifies the name of the restart log table <strong>for</strong> <strong>SAS</strong> to use when using the TPT API toload data with Fastload or MultiLoad.DetailsTo use this option, you must first set TPT=YES. This option is valid only when usingthe TPT API.Fastload, MultiLoad, and Multi-Statement insert that use the TPT API require arestart log table. If you do not specify a restart log table, Teradata appends "_RS" to thename of the target table to load and uses it as the restart log table by default. You canoverride this name by setting TPT_LOG_TABLE=. If you do this and the load step fails,you must specify the same name when restarting.The name that you specify in TPT_LOG_TABLE= must be unique. It cannot be thename of an existing table unless it is in a restart scenario.ExampleIn this example, a different name is provided <strong>for</strong> the restart log table thatMulti-Statement uses with the TPT API.libname tera teradata user=testuser pw=testpw;/* Load using Fastload TPT. Use alternate names <strong>for</strong> the log table. */data tera.testdata(MULTISTMT=YES TPT_LOG_TABLE=restarttab);i=1;output; i=2;output;run;See Also“Maximizing Teradata Load Per<strong>for</strong>mance” on page 804“Using the TPT API” on page 807“BULKLOAD= LIBNAME Option” on page 102“BULKLOAD= Data Set Option” on page 290“MULTILOAD= Data Set Option” on page 342“MULTISTMT= Data Set Option” on page 348“TPT= LIBNAME Option” on page 192“TPT= Data Set Option” on page 373“TPT_ERROR_TABLE_1= Data Set Option” on page 380“TPT_ERROR_TABLE_2= Data Set Option” on page 381“TPT_WORK_TABLE= Data Set Option” on page 393

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!