Automatic Macro Variables |
Type: | Automatic macro variable (read and write) |
Details | |
Example |
Details |
Values assigned to SYSMSG do not require quotation marks. The value of SYSMSG is set to null after each execution of a %DISPLAY statement.
Example |
This example shows that text assigned to SYSMSG is cleared after the %DISPLAY statement.
%let sysmsg=Press ENTER to continue.; %window start #5 @28 'Welcome to SAS'; %display start; %put Sysmsg is: *&sysmsg*;
When this program executes, the following is written to the SAS log:
Sysmsg is: **
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.