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.

450 Bulk Loading <strong>for</strong> Aster nCluster 4 Chapter 143 port (PORT=)3 data source (DSN=, if specified)3 SQL functions (SQL_FUNCTIONS=)For more in<strong>for</strong>mation about when and how <strong>SAS</strong>/<strong>ACCESS</strong> passes joins to the DBMS,see “Passing Joins to the DBMS” on page 43.Bulk Loading <strong>for</strong> Aster nClusterLoadingBulk loading is the fastest way to insert large numbers of rows into an AsternCluster table. To use the bulk-load facility, specify BULKLOAD=YES. The bulk-loadfacility uses the Aster nCluster loader client application to move data from the client tothe Aster nCluster database. See “BULKUNLOAD= Data Set Option” on page 291.Here are the Aster nCluster bulk-load data set options. For detailed in<strong>for</strong>mationabout these options, see Chapter 11, “Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>,” onpage 203.3 BL_DATAFILE=3 BL_DBNAME=3 BL_DELETE_DATAFILE=3 BL_DELIMITER=3 BL_HOST=3 BL_OPTIONS=3 BL_PATH=3 BULKLOAD=ExamplesThis example shows how you can use a <strong>SAS</strong> data set, <strong>SAS</strong>FLT.FLT98, to create andload a large Aster nCluster table, FLIGHTS98.LIBNAME sasflt ’<strong>SAS</strong>-data-library’;LIBNAME net_air ASTER user=louis pwd=fromageserver=air2 database=flights dimension=yes;PROC sql;create table net_air.flights98(bulkload=YES bl_host=’queen’ bl_path=’/home/ncluster_loader/’bl_dbname=’beehive’)as select * from sasflt.flt98;quit;You can use BL_OPTIONS= to pass specific Aster nCluster options to thebulk-loading process.You can create the same table using a DATA step.data net_air.flights98(bulkload=YES bl_host=’queen’ bl_path=’/home/ncluster_loader/’bl_dbname=’beehive’);

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

Saved successfully!

Ooh no, something went wrong!