Chapter Contents |
Previous |
Next |
SYSRC |
Category: | SAS File I/O |
Category: | External Files |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
SYSRC() |
Details |
SYSRC returns the error number for the last system error encountered by a call to one of the data set functions or external file functions.
Example |
This example determines the error message if FILEREF does not exist:
%if %sysfunc(fileref(myfile)) ne 0 %then %put %sysfunc(sysrc()) - %sysfunc(sysmsg());
See Also |
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.