Using SAS Files |
You can assign multiple librefs to a single directory, and specify a different engine with each libref. For example, after the following statements are executed, data sets that are referenced by one are created and accessed using the default engine, while data sets that are referenced by two are created and accessed using the sequential engine:
libname one v9 '/users/myid/educ'; libname two v8 '/users/myid/educ';
Note: Keeping different types of libraries in one directory is not recommended because you must remember the appropriate engine for accessing each library. SAS cannot determine the right engine for accessing libraries in a directory that contains libraries of different types. See Omitting Engine Names from the LIBNAME Statement for more information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.