SPD Engine LIBNAME Statement Options |
Default: | NO |
Syntax | |
Details | |
Example |
Syntax |
TEMP=YES | NO |
specifies to create the temporary subdirectory.
specifies not to create a temporary subdirectory.
Details |
The TEMP= option creates a temporary subdirectory of the primary directory that was named in the LIBNAME statement. The subdirectory and all of its files contained are deleted at the end of the session.
You can use TEMP= with the SAS option USER= to create a temporary directory to store interim data sets that can be referenced with a single-level name.
Note: When using the SIGNON statement in SAS/CONNECT software, the INHERITLIB= option cannot refer to an SPD Engine library that was defined with the TEMP= option.
Example |
The following example illustrates two features:
the use of the TEMP= LIBNAME option to create a temporary library
the use of the USER= system option to enable the use of single-level table names for SPD Engine tables
libname perm <masterdata> libname mywork spde 'mydata' datapath=('/data01/mypath' '/data02/mypath' '/data03/mypath' '/data04/mypath') indexpath=('index/mypath') TEMP=YES; option user=mywork; data mastercopy (index=(lastname)); set perm.customer; where region='W'; run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.