Chapter Contents

Previous

Next
LIBREF

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.