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 (December 2007, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 30 Dec 2007 21:59:16 -0800
Reply-To:     Patrick <patrick.matter@GMX.CH>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Patrick <patrick.matter@GMX.CH>
Organization: http://groups.google.com
Subject:      Re: adding hardocded values to a list of vars in a macro variable
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

You were almost there. Happy New Year Patrick

data one; input name $ age; cards; Iris 22 jack 29 stan 21 ; %let lib=work; %let dsn=one;

proc sql noprint; select catt("'",name,"' 'K'") into :varlst separated by ' ' from dictionary.columns where libname=%upcase("&lib") and memname=%upcase("&dsn") ; quit;

%put &varlst;


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