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 (January 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 24 Jan 2007 16:43:53 -0500
Reply-To:   "data _null_;" <datanull@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "data _null_;" <datanull@GMAIL.COM>
Subject:   Re: Macro Variable Problem (or should I say, coder problem)
Comments:   To: toby dunn <tobydunn@hotmail.com>
In-Reply-To:   <BAY123-F30E9F5199699D7AE11A605DEAC0@phx.gbl>
Content-Type:   text/plain; charset=ISO-8859-1; format=flowed

Along similar lines. I often use formats/informats for this type of problem. It would be helpful if Mark described the "big picture" so we could better understand exactly what he is trying to accomplish. I expect it is more involved than the example he presented.

data work.control; retain fmtname 'nm2age' type 'I' hlo 'UJ'; set sashelp.class(keep=name age); start = upcase(name); label = age; run; proc format cntlin=work.control; run;

%put NOTE: John%str(%')s age is: %sysfunc(inputN(john,nm2age10.));


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