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.

808 Using the TPT API 4 Chapter 28TPT API SetupHere are the requirements <strong>for</strong> using the TPT API in <strong>SAS</strong> <strong>for</strong> loading <strong>SAS</strong>.3 Loading data from <strong>SAS</strong> to Teradata using the TPT API requires Teradata clientTTU 8.2 or later. Verify that you have applied all of the latest Teradata eFixes.3 This feature is supported only on plat<strong>for</strong>ms <strong>for</strong> which Teradata provides the TPTAPI.3 The native TPT API infrastructure must be present on your system. ContactTeradata if you do not already have it but want to use it with <strong>SAS</strong>.The <strong>SAS</strong> configuration document <strong>for</strong> your system contains in<strong>for</strong>mation about how toconfigure <strong>SAS</strong> to work with the TPT API. However, those steps might already havebeen completed as part of the post-installation configuration process <strong>for</strong> your site.TPT API LIBNAME OptionsThe TPT= LIBNAME option is common to all three supported load methods. If <strong>SAS</strong>cannot use the TPT API, it reverts to using Fastload, MultiLoad, or Multi-Statementinsert, depending on which method of loading was requested without generating anyerrors.TPT API Data Set OptionsThese data set options are common to all three supported load methods:3 SLEEP=3 TENACITY=3 TPT=3 TPT_CHECKPOINT_DATA=3 TPT_DATA_ENCRYPTION=3 TPT_LOG_TABLE=3 TPT_MAX_SESSIONS=3 TPT_MIN_SESSIONS=3 TPT_RESTART=3 TPT_TRACE_LEVEL=3 TPT_TRACE_LEVEL_INF=3 TPT_TRACE_OUTPUT=TPT API FastLoad Supported Features and Restrictions<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Teradata supports the TPT API <strong>for</strong> FastLoad, also knownas the load driver, <strong>SAS</strong>/<strong>ACCESS</strong> works by interfacing with the load driver through theTPT API, which in turn uses the Teradata Fastload protocol <strong>for</strong> loading data. See yourTeradata documentation <strong>for</strong> more in<strong>for</strong>mation about the load driver.This is the default FastLoad method. If <strong>SAS</strong> cannot find the Teradata modules thatare required <strong>for</strong> the TPT API or TPT=NO, then <strong>SAS</strong>/<strong>ACCESS</strong> uses the old method ofFastload. <strong>SAS</strong>/<strong>ACCESS</strong> can restart Fastload from checkpoints when FastLoad uses theTPT API. The <strong>SAS</strong>/<strong>ACCESS</strong> FastLoad facility using the TPT API is similar to thenative Teradata FastLoad utility. They share these limitations.3 FastLoad can load only empty tables. It cannot append to a table that alreadycontains data. If you try to use FastLoad when appending to a table that containsrows, the append step fails.

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

Saved successfully!

Ooh no, something went wrong!