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 (September 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, 2 Sep 2005 10:08:49 -0700
Reply-To:     tanwan <tanwanzang@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         tanwan <tanwanzang@YAHOO.COM>
Organization: http://groups.google.com
Subject:      Re: assigning many variable labels?
Comments: To: sas-l@uga.edu
In-Reply-To:  <1125598695.996985.100270@g47g2000cwa.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"

Change the 7 in the macro to 100 and you be home and dry.

%macro relabel; label %do jj=1 %to 7; variable&jj = "Variable &jj Recorded" %end; %mend relabel;

options label macrogen;

data recorded;retain variable1-variable7 5; %relabel; proc contents; run;


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