Chapter Contents |
Previous |
Next |
_MSG_ |
Category: | System Variable |
Details | |
Example | |
See Also |
Details |
Typically an application displays error and warning messages on the window's message line. The text for system error and warning messages can be obtained by using the SYSMSG or STDMSG functions. You can also assign your own text to the _MSG_ variable. Messages are displayed when the window is refreshed.
FRAME entries can also use the _getMsg and _setMsg methods to query and update the _MSG_ variable.
On some operating systems, _MSG_ is not displayed if the window has BANNER set to NONE.
Example |
Display a message if a table cannot be opened:
INIT: dsid = open('sasuser.class'); if dsid eq 0 then _msg_ = sysmsg(); return;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.