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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

382 TPT_LOG_TABLE= Data Set Option 4 Chapter 11Syntax Descriptionvalid_teradata_table_namespecifies the name of the second error table <strong>for</strong> <strong>SAS</strong> to use when using the TPT APIto load 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 and MultiLoad require an error table to hold records that were rejectedduring the acquisition phase. If you do not specify an error table, Teradata appends"_UV" to the name of the target table to load and uses it as the second error table bydefault. You can override this name by setting TPT_ERROR_TABLE_2=. If you do thisand the load step fails, you must specify the same name when restarting. Forin<strong>for</strong>mation about errors that are logged in this table, see your Teradata documentation.The name that you specify in TPT_ERROR_TABLE_2= must be unique. It cannot bethe name of an existing table unless it is in a restart scenario.ExampleIn this example, a different name is provided <strong>for</strong> both the first and second errortables that Fastload and MultiLoad use with the TPT API.libname tera teradata user=testuser pw=testpw;/* Load using Fastload TPT. Use alternate names <strong>for</strong> the error tables. */data tera.testdata(FASTLOAD=YES TPT_ERROR_TABLE_1=testerror1TPT_ERROR_TABLE_2=testerror2);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“TPT= LIBNAME Option” on page 192“TPT= Data Set Option” on page 373“TPT_ERROR_TABLE_1= Data Set Option” on page 380“TPT_LOG_TABLE= Data Set Option” on page 382“TPT_WORK_TABLE= Data Set Option” on page 393TPT_LOG_TABLE= Data Set OptionSpecifies the name of the restart log table <strong>for</strong> <strong>SAS</strong> to use when using the TPT API with Fastload,MultiLoad, or Multi-Statement insert.Default value:table_name_RS

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

Saved successfully!

Ooh no, something went wrong!