Verifies that a libref has been assigned
Category: SAS File I/O
See: LIBREF Function in the documentation for your operating environment.
LIBREF ( libref )
libref
specifies the libref to be verified .
LIBREF returns 0 if the operation was successful, ‰ if it was not successful.
This example verifies a libref. If an error or warning occurs, the message is written to the log. Under some operating environments, the user can assign librefs by using system commands outside the SAS session.
%if (%sysfunc(libref(sashelp))) %then %put %sysfunc(sysmsg());
Function:
'LIBNAME Function' on page 632