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.

806 Using MultiLoad 4 Chapter 283 unique secondary indexes3 <strong>for</strong>eign key references3 join indexesBoth the Teradata MultiLoad utility and the <strong>SAS</strong>/<strong>ACCESS</strong> MultiLoad facility logdata errors to tables. Error recovery can be difficult, but the ability to restart from thelast checkpoint is possible. To find the error that corresponds to the code that is storedin the error table, see the Teradata MultiLoad documentation.MultiLoad SetupHere are the requirements <strong>for</strong> using the MultiLoad bulk-load capability in <strong>SAS</strong>.3 The native Teradata MultiLoad utility must be present on your system. If you donot have the Teradata MultiLoad utility and you want to use it with <strong>SAS</strong>, contactTeradata to obtain the utility.3 <strong>SAS</strong> must be able to locate the Teradata MultiLoad utility on your system.3 The Teradata MultiLoad utility must be able to locate the <strong>SAS</strong>Mlam accessmodule and the SasMlne exit routine. They are supplied with <strong>SAS</strong>/<strong>ACCESS</strong>Interface to Teradata.3 <strong>SAS</strong> MultiLoad requires Teradata client TTU 8.2 or later.If it has not been done so already as part of the post-installation configuration process,see the <strong>SAS</strong> configuration documentation <strong>for</strong> your system <strong>for</strong> in<strong>for</strong>mation about how toconfigure <strong>SAS</strong> to work with MultiLoad.MultiLoad Data Set OptionsCall the <strong>SAS</strong>/<strong>ACCESS</strong> MultiLoad facility by specifying MULTILOAD=YES. See theMULTILOAD= data set option <strong>for</strong> detailed in<strong>for</strong>mation and examples on loading dataand recovering from errors during the load process.Here are the data set options that are available <strong>for</strong> use with the MultiLoad facility.For detailed in<strong>for</strong>mation about these options, see Chapter 11, “Data Set Options <strong>for</strong><strong>Relational</strong> <strong>Databases</strong>,” on page 203.3 MBUFSIZE=3 ML_CHECKPOINT=3 ML_ERROR1= lets the user name the error table that MultiLoad uses <strong>for</strong> trackingerrors from the acquisition phase. See the Teradata MultiLoad reference <strong>for</strong> morein<strong>for</strong>mation about what is stored in this table. By default, the acquisition errortable is named <strong>SAS</strong>_ML_ET_randnum where randnum is a random number.When restarting a failed MultiLoad job, you need to specify the same acquisitiontable from the earlier run so that the MultiLoad job can restart correctly. Notethat the same log table, application error table, and work table must also bespecified upon restarting, using ML_RESTART, ML_ERROR2, and ML_WORKdata set options. ML_ERROR1 and ML_LOG are mutually exclusive and cannotbe specified together.3 ML_ERROR2=3 ML_LOG= specifies a prefix <strong>for</strong> the temporary tables that the Teradata MultiLoadutility uses during the load process. The MultiLoad utility uses a log table, twoerror tables, and a work table while loading data to the target table. These tablesare named by default as <strong>SAS</strong>_ML_RS_randnum, <strong>SAS</strong>_ML_ET_randnum,<strong>SAS</strong>_ML_UT_randnum, and <strong>SAS</strong>_ML_WT_randnum where randnum is arandomly generated number. ML_LOG= is used to override the default namesused. For example, if you specify ML_LOG=MY_LOAD the log table is named

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

Saved successfully!

Ooh no, something went wrong!