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.

472 Passing Joins to DB2 Under UNIX and PC Hosts 4 Chapter 15Passing Joins to DB2 Under UNIX and PC HostsFor a multiple libref join to pass to DB2, all of these components of the LIBNAMEstatements must match exactly:3 user ID (USER=)3 password (PASSWORD=)3 update isolation level (UPDATE_ISOLATION_LEVEL=, if specified)3 read_isolation level (READ_ISOLATION_LEVEL=, if specified)3 qualifier (QUALIFIER=)3 data source (DATASRC=)3 prompt (PROMPT=, must not be specified)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> DB2 Under UNIX and PC HostsOverviewBulk loading is the fastest way to insert large numbers of rows into a DB2 table.Using this facility instead of regular SQL insert statements, you can insert rows two toten times more rapidly. You must specify BULKLOAD=YES to use the bulk-load facility.<strong>SAS</strong>/<strong>ACCESS</strong> Interface to DB2 under UNIX and PC Hosts offers LOAD, IMPORT,and CLI LOAD bulk-loading methods. The BL_REMOTE_FILE= and BL_METHOD=data set options determine which method to use.For more in<strong>for</strong>mation about the differences between IMPORT, LOAD, and CLILOAD, see the DB2 Data Movement Utilities Guide and <strong>Reference</strong>.Using the LOAD MethodTo use the LOAD method, you must have system administrator authority, databaseadministrator authority, or load authority on the database and the insert privilege onthe table being loaded.This method also requires that the client and server machines are able to read andwrite files to a common location, such as a mapped network drive or an NFS directory.To use this method, specify the BL_REMOTE_FILE= option.Because <strong>SAS</strong>/<strong>ACCESS</strong> Interface to DB2 uses the PC/IXF file <strong>for</strong>mat to transfer datato the DB2 LOAD utility, you cannot use this method to load data into partitioneddatabases.Here are the bulk-load options available with the LOAD method. For details aboutthese options, see Chapter 11, “Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>,” on page 203.3 BL_CODEPAGE=3 BL_DATAFILE=3 BL_DELETE_DATAFILE=3 BL_LOG=: The log file contains a summary of load in<strong>for</strong>mation and errordescriptions. On most plat<strong>for</strong>ms, the default filename isBL__.log.

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

Saved successfully!

Ooh no, something went wrong!