![]() Chapter Contents |
![]() Previous |
![]() Next |
| LIBNAME |
| Category: | SAS File I/O |
| Syntax | |
| Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| LIBNAME(libref<,SAS-data-library<,engine<,options>>>) |
| Details |
LIBNAME returns
0 if the operation was successful,
0 if it was not successful.
Operating Environment Information: Some systems
allow a SAS-data-library
value of
' ' (with a space) to assign a libref to the current
directory. The behavior of LIBNAME when a single space is specified for SAS-data-library is host dependent.
If no value is provided for
SAS-data-library or if SAS-data-library has a
value of
''(with no space), LIBNAME disassociates the libref
from the data library.
Under some operating environments, the user can assign
librefs using system commands outside the SAS session.
| Examples |
%if (%sysfunc(libname(new,MYLIB))) %then %put %sysfunc(sysmsg());
%if (libname(new)) %then %put %sysfunc(sysmsg());
| See Also |
| Function:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.