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 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 19 May 2003 11:39:26 -0400
Reply-To:   Gerry Pauline <GPauline@FSMAIL.PACE.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gerry Pauline <GPauline@FSMAIL.PACE.EDU>
Subject:   Dynamically Generating %Window Line Statements
Content-Type:   text/plain; charset=us-ascii

SASxperts:

Is there a way to dynamically generate %Window line statements ? The code below is representative of basically what I want. The content in lines #4 through #8 are stored in a set of enumerated macro variables generated with Call SYMPUT.

The problem is that the line statements are a part of %Window statement itself. I've tried a few methods, but haven't come close to succeeding !

Any and all ideas, thoughts and suggestions will be much appreciated (have SAS v8.2 on the S/390, and v9 on desktop and server).

Thanks.

-Gerry

Gerard T. Pauline Mgr, Internet Applications & University Web Master Computer Systems, DoIT Pace University

--------------------------------------------------------------------------------------------

%Macro RECORDS ;

%Window RECORDS #2 @10 'File List' C=Blue #4 @10 '1' C=Blue @13 'TEST0001' C=Yellow @22 '2003-05-01' C=Yellow #5 @10 '2' C=Blue @13 'TEST0002' C=Yellow @22 '2003-05-03' C=Yellow #6 @10 '3' C=Blue @13 'TEST0003' C=Yellow @22 '2003-05-04' C=Yellow #7 @10 '4' C=Blue @13 'TEST0004' C=Yellow @22 '2003-05-07' C=Yellow #8 @10 '5' C=Blue @13 'TEST0005' C=Yellow @22 '2003-05-11' C=Yellow #10 @10 'File To Process' C=Blue +1 FN 2 C=Blue A=REV_VIDEO ;

%Display RECORDS ;

%Mend RECORDS ;

%Records

--------------------------------------------------------------------------------------------


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