LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 13 May 2004 12:07:15 -0400
Reply-To:   "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Subject:   Re: DM and 'user' created macro window

Veronika Chinyaeva wrote: > Hello, > > Does anybody know how to refer to the 'user' created macro window > using a dm statement. > > I tried dm 'mywindow; zoom'; > dm 'window mywindow; zoom'; > dm mywindow ; > > and got error in all cases. > > The program runs on mainframe via a Display Manager. > > Thank you. > > Veronika > > Junior Programmer, > Pace Univeristy

Try the commands LOG OFF LISTING OFF ICON

WINDOW defines a DATA Step window DISPLAY displays a DATA Step window

%WINDOW defines a macro window %DISPLAY displays a macro window.

Display can only display a window in proper scope. A window defined in one data step is not available in a second data step (unless you define it again in the second data step) Likewise a %window defined in a macro is not available for %display after the macro finishes.

You might also be interested in the NOINPUT option of the DISPLAY statement.

%macro foo;

%local X;

%window status rows=10 columns=10 @1#1 "X=" X ;

%do X = 1 %to 10; %display status noinput; data _null_; do i = 1 to 1e8; end; run; %end;

%mend;

%foo

-- Richard A. DeVenezia http://www.devenezia.com/downloads/sas/samples


Back to: Top of message | Previous page | Main SAS-L page