Automatic Macro Variables |
Contains the return code from the last LIBNAME statement.
Type: |
Automatic macro variable (read and write)
|
The
code reports whether the last LIBNAME statement executed correctly. SYSLIBRC
checks whether the SAS library referenced by the last LIBNAME statement exists.
As an example, you could use SYSLIBRC to confirm that a libref is allocated
before you attempt to access a permanent data set.
The following are values for SYSLIBRC:
Value |
Description |
0 |
The last LIBNAME statement executed correctly. |
0 |
The last LIBNAME statement did not execute
correctly. |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.