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 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 3 Jan 2008 05:53:24 -0500
Reply-To:     Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:      Re: using macro variable
Content-Type: text/plain; charset=ISO-8859-1

data temp; set total; new_var="&segment"; run;

Gerhard

On Thu, 3 Jan 2008 15:57:25 +0530, Mohit Bhatia <mohit.b.bhatia@AEXP.COM> wrote:

>hi , > >I want to do this . > >%let segment=low; > >data temp; >set total; >( now here i want to create a variable inside the dataset temp which takes >the value of the macro variable segment) > >How to do this? > > >American Express made the following annotations on Thu Jan 03 2008 03:24:30 >-------------------------------------------------------------------------- ---- >"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e- mail and immediately and permanently delete this message and any attachments. Thank you." > >American Express a ajouté ¬e commentaire suivant le Thu Jan 03 2008 03:24:30 > >Ce courrier et toute pi裥 jointe qu'il contient sont ré³¥rvé³ au seul destinataire indiqué ¥t peuvent renfermer des renseignements confidentiels et privilé§©é³® Si vous n'ê´¥s pas le destinataire pré¶µ, toute divulgation, duplication, utilisation ou distribution du courrier ou de toute pi裥 jointe est interdite. Si vous avez reçµ cette communication par erreur, veuillez nous en aviser par courrier et dé´²uire imm餩atement le courrier et les pi裥s jointes. Merci. >************************************************************************** **** >-------------------------------------------------------------------------- -----


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