Previous Page | Next Page

SAS Component Language Dictionary

LIBREF



Verifies that a libref has been assigned
Category: SAS Table and Utility

Syntax
Example
See Also

Syntax

sysrc=LIBREF(libref);

sysrc

contains the return code for the operation:

=0

The operation was successful.

<0

The operation was completed, but a warning or a note was generated.

>0

The operation was not successful.

Type: Numeric

libref

is the libref to be verified.

Type: Character


Example

Verify a libref. If an error or warning occurs, the message is displayed on the application window's message line.

if (libref('sashelp'))
then _msg_=sysmsg();


See Also

LIBNAME

Previous Page | Next Page | Top of Page