Automatic Macro Variables |
Contains text to display in the message area of a macro
window.
Type: |
Automatic macro variable (read and write)
|
Values
assigned to SYSMSG do not require quotation marks. The value of SYSMSG is
set to null after each execution of a %DISPLAY statement.
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.