SAS Component Language Dictionary |
Returns the text of SCL error messages or warning messages
-
cval
-
contains the text of the SCL error
message.
Type: Character
SYSMSG returns the text of error messages
or warning messages that are produced when SCL encounters an error condition.
If no error message is available, the returned value is blank. The internally
stored error message is reset to blank after a call to SYSMSG. Therefore,
if you subsequently call SYSMSG before another error condition occurs, it
returns a blank value.
Display the system error message that
is generated if FETCH cannot copy the next row into the Table Data Vector
for the SAS table identified by the value stored in DSID. The return code
is 0 only when a next record is successfully fetched.
rc=fetch(dsid);
if rc ne 0 then _msg_=sysmsg();
SYSRC
_MSG_
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.