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 (February 2010, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 5 Feb 2010 23:20:17 -0800
Reply-To:   SAS_learner <proccontents@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   SAS_learner <proccontents@GMAIL.COM>
Subject:   Getting variables into Proc Report dynamically
Content-Type:   text/plain; charset=ISO-8859-1

Hello all,

I want to find out how to create a proc report dynamically Say if I have a list of variables like this say for example in the Sashelp.Class

I want three Variables Age , Height , Name with Label and width and Other Display Options like font and other things . Is it possible ????

Age as (Age of Subject width = 8 ) ,Height (height of Subject Width = 9 ) , Name (name of the subject)

%let Vname = %str(Age Height Name);

Proc Report data = Sashelp.Class NOwd ; Column &vname ; /* ------------>>>>>>>>>>>>>> *How to put Display statements with in do loop to as variables list in Vname*<<<<<<<<<<<<<<<<<<<-------------------; */;

Run ;

is there a paper or discussions about this topic discussed earlier

thanks for your time SL


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