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.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Teradata 4 FastExport Setup 793how Teradata creates a table, look at your column declarations with the TeradataSHOW TABLE statement.3 A character literal matches to a column value that differs only in case.You can see differences in the rows returned if your character column hasmixed-case data that is otherwise identical. For example, ’Top’ and ’top’ areidentical except <strong>for</strong> case.Case sensitivity is an issue when <strong>SAS</strong> generates SQL code that contains a WHEREclause with one or more character comparisons. It is also an issue when you supply theTeradata SQL yourself with the explicit SQL feature of PROC SQL. The followingexamples illustrate each scenario, using DBSLICEPARM=ALL to start FastExportinstead of the normal <strong>SAS</strong> read:/* <strong>SAS</strong> generates the SQL <strong>for</strong> you. */libname trlib teradata user=username password=userpwd dbsliceparm=all;proc print data=trlib.employees;where lastname=’lovell’;run;/* Use explicit SQL with PROC SQL & supply theSQL yourself, also starting FastExport. */proc sql;connect to teradata(user=username password=userpwd dbsliceparm=all);select * from connection to teradata(select * from sales where gender=’f’ and salesamt>1000);quit;For more in<strong>for</strong>mation about case sensitivity, see your Teradata documentation.FastExport Password SecurityFastExport requires passwords to be in clear text. Because this poses a security risk,users must specify the full pathname so that the file path is in a protected directory:3 Windows users should specify BL_CONTROL="PROTECTED-DIR/myscr.ctl".<strong>SAS</strong>/<strong>ACCESS</strong> creates the myscr.ctl script file in the protected directory withPROTECTED-DIR as the path.3 UNIX users can specify a similar pathname.3 MVS users must specify a middle-level qualifier such asBL_CONTROL="MYSCR.TEST1" so that the system generates theUSERID.MYSCR.TEST1.CTL script file.3 Users can also use RACF to protect the USERID.MYSCR* profile.FastExport SetupThere are three requirements <strong>for</strong> using FastExport with <strong>SAS</strong>:3 You must have the Teradata FastExport Utility present on your system. If you donot have FastExport and want to use it with <strong>SAS</strong>, contact NCR to obtain theUtility.3 <strong>SAS</strong> must be able to locate the FastExport Utility on your system.3 The FastExport Utility must be able to locate the SasAxsm access module, whichis supplied with your <strong>SAS</strong>/<strong>ACCESS</strong> Interface to Teradata product. SasAxsm is inthe <strong>SAS</strong> directory tree, in the same location as the sasiotra component.

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

Saved successfully!

Ooh no, something went wrong!