Chapter Contents

Previous

Next
SYSMSG

SYSMSG



Contains text to display in the message area of a macro window

Type: Automatic macro variable (read and write)


Details
Example
Using SYSMSG


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

Example 1: Using SYSMSG

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 the SAS System';
%display start;

%put Sysmsg is: *&sysmsg*;

Executing this program writes this to the SAS log:

Sysmsg is: **


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.