LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 4 Nov 2005 23:22:29 -0800
Reply-To:     Caroline Chen <hellangel_987@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Caroline Chen <hellangel_987@YAHOO.COM>
Subject:      symput in IML
Content-Type: text/plain; charset=iso-8859-1

I'd like to create a Macro variable, "y" which is corresponding to a numeric variable x (takes values between 0.1 and 10) in such a way, that when x=0.5, y="05", when x=2, y="20";

The following "symput" works in data step, but wouldn't in IML, can you tell me how to do it?

Thank you

Dale.

data _null_; call symput('y',put((&x*10),z2.)); run;

__________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com


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