LIBREF Function


Verifies that a libref has been assigned

Category: SAS File I/O

See: LIBREF Function in the documentation for your operating environment.

Syntax

LIBREF ( libref )

Arguments

libref

  • specifies the libref to be verified .

Details

LIBREF returns 0 if the operation was successful, ‰  if it was not successful.

Examples

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()); 

See Also

Function:

  • 'LIBNAME Function' on page 632




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net