f



Re: Labels ....Labels

It is possible. You can get the label information from SAS meta
data, and create a new set of shorten label, then use it whenever
needed:

data xx;
a=23; b='abc';
label a='one two three four five'
      b='123 456 789 000 xxx kkk';
run;

proc print label;
run;

proc sql;
select name||'="'||scan(label,1,' ')||' '||scan(label,2,' ')||' '||scan
(label,3,' ')||'"'
into :newlb separated by ' '
from sashelp.vcolumn
where libname='WORK' and memname='XX'
;

%put &newlb;

proc print data=xx label;
label &newlb;
run;

first proc print output:

      one two     123 456
    three four    789 000
       five       xxx kkk

         23          abc


second proc print output with label chopped off:

 one two    123 456
  three       789

    23        abc

Kind regards,

Ya Huang


On Tue, 30 Nov 2004 16:40:51 -0500, Nomi <sajeelm@GMAIL.COM> wrote:

>Hi all,
>
>I'm using a dataset in which the variables have long labels. Now I
>want that in the output instead of the complete label only the first
>three words of the label be showed.
>Is that possible? And also is their away to show only the labels and
>not the variable name?
>
>Thanks,
>Sajeel
0
ya.huang (1962)
11/30/2004 11:33:21 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
572 Views

Similar Articles

[PageSpeed] 28

Reply:

Similar Artilces:

Re: Labels ....Labels #2
You can try something like this: options nocenter mprint symbolgen; data test; /* test data */ do i = 1 to 100; j=i; output; end; label i= 'This is a very long label' j= 'Hey, this too is a very long label'; run; proc contents data=test noprint out=outest; proc print data=outest; run; data _null_; set outest end=eof; n+1; if eof then call symput("nvars",left(put(n,best12.))); run; %macro label_truncate; data _null_; set outest; n+1; call symput("label" || left(put(n,8.)), compress(name || "='",' ') || substr(label,1,3) || "'"); run; data test2; set test; %do labs = 1 %to &nvars; label &&label&labs; %end; ; %mend; %label_truncate run; proc contents data=test2; run; OUTPUT of LAST CONTENTS: -----Alphabetic List of Variables and Attributes----- # Variable Type Len Pos Label -------------------------------------------- 1 i Num 8 0 Thi 2 j Num 8 8 Hey On Tue, 30 Nov 2004 16:40:51 -0500, Nomi <sajeelm@GMAIL.COM> wrote: >Hi all, > >I'm using a dataset in which the variables have long labels. Now I >want that in the output instead of the complete label only the first >three words of the label be showed. >Is that possible? And also is their away to show only the labels and >not the variable name? > >Thanks, >Sajeel ...

Re: label in macro. Was:label in an array statement
Hi Pedro, You did not attach some code in your email, but it is possible to use the LABEL statement inside a macro, as long it concerns legal data step code, that you are defining. You may only assign labels to normal data step variables, not macro variables. Regards - Jim. Y. (Jim) Groeneveld MSc Biostatistician Vitatron B.V. Meander 1051 6825 MJ Arnhem The Netherlands +31/0 26 376 7365; fax 7305 Jim.Groeneveld@Vitatron.com www.vitatron.com -----Original Message----- From: GOMEZ TEJERINA, PEDRO ALBERTO [mailto:PEDRO.GOMEZ@GRUPOBBVA.COM] Sent: Wednesday, October 08, 2003 10:48 To: SAS-L@LISTSERV.UGA.EDU Subject: label in macro. Was:label in an array statement --- Recibido de BBVACENT.U094016 GOMEZ TEJERINA, PEDRO AL* 08-10-03 10.48 -> SAS-L@LISTSERV.UGA.EDU Dear SAS users, I�m trying to change the label of some variables inside a macro and a data step. Nevertheless, the statement label creates a new variable named "label" instead of changing the label of a variable. Can I "call" the label statement inside a macro? Apparently, %sysfunc doesn�t allow it. Many thanks for your help. Yours, Pedro Alberto G�mez Departamento de Investigaci�n Comercial BBVA Goya 14 28001 Madrid. 913743577 <mailto:PEDRO.GOMEZ@GRUPOBBVA.com> ************************************ DISCLAIMER ***************************************** This message is intended exclusively for the named person. It may contain confidential, propietary or...

Re: Print a list of all variables, format, labels and value labels
I presume that the 'lookup tables' to which you refer are formats, since SAS does not support 'lookup tables' per se, and formats are the usual device for managing value labels. PROC FORMAT's CNTLOUT option will export the labels to a data set. You can combine such a data set with the PROC CONTENTS output to build your codebook. It may be possible to do this with a MERGE statement, but if a format has two or more labels and is used with two or more variables you are dealing with a many-to-many combination, where a PROC SQL join will be advantageous. On Fri, 13 May 2005 23:29:29 -0700, skauchali <skauchali@GMAIL.COM> wrote: >Hello all; thanks for taking this little questions. I am a novice with >SAS, but have a steep learning curve. I have tried to print a list of >all variables with their labels and format type (char or num, etc) in >my database using the PROC CONTENTS function. What it does not place in >this output is a list of VALUE LABELS (e.g for variable Gender: Values >1, 2: Value labels 1-FEMALE 2-MALE); Yes, I have these value labels in >the database that are in 'lookup tables', that I created using EpiInfo >V3.2.2 (MSAccess backend). My question is: how do I get SAS PROC >CONTENTS print these value labels out, so that I have a comprehensive >CODEBOOK ready for use. My workaround this difficulty is to print using >PROC CONTENTS as RTF using ODS output style; then adding a column for >Value Labe...

Re: Display SAS dataset label
Greg, One would think dataset labels would appear when you view "details" and, in fact, a column for the descriptions is definitely there. However, with my version of SAS 9.1 (Windows), the description column remains blank even when labels have been set. Bug? Art ----------- On Mon, 17 Jan 2005 09:02:34 +0100, Greg <admin@EPSILON-CONSULTING.NET> wrote: >Is it possible to display SAS dataset Label in explorer window ? Well, just include this in your program; options label; Conversely use options nolabel;to turnn it off. HTH Arthur, CHeck the metadata tables, perhap...

Re: SAS value labels not applying
Anne, After looking at it more closely, I think the problem is simply that your four problematic format names are longer than eight characters in length (with the $ included in the count). If you change them, as shown below, I think you'll find that it will work: PROC FORMAT; VALUE $EDU 1 ="<12 Yrs" 2 ="12 Yrs" 3 =">12 Yrs" ; VALUE $RACE 1 ="Black" 2 ="White" 3 ="Hispanic" ; VALUE $MARITAL 1 ="Single" 2 ="Married" 3 ="Other" ; VALUE $RELATIO 1 ="Current" 2 =...

Re: SAS Graph
This is part of an example taken from the online help system Specifically from: Example 2. Specifying Logarithmic Axes (Don't copy the entire axis statement, just use the angle=90 option) Define characteristics for vertical axis. LABEL= uses the ANGLE= suboption to place the label parallel to the vertical axis. axis2 logbase=10 logstyle=expand color=red label=(angle=90 h=4 color=black 'Concentration (Moles/Liter)' ) value=(tick=1 '10' height=1.5 '-14' tick=2 '10' height=1.5 '-13' tick=3 '10' height=1.5 '-12' tick=4 '10' height=1.5 '-11' tick=5 '10' height=1.5 '-10' tick=6 '10' height=1.5 '-9' tick=7 '10' height=1.5 '-8' tick=8 '10' height=1.5 '-7' tick=9 '10' height=1.5 '-6' tick=10 '10' height=1.5 '-5' tick=11 '10' height=1.5 '-4' tick=12 '10' height=1.5 '-3' tick=13 '10' height=1.5 '-2' tick=14 '10' height=1.5 '-1') major=(height=.75 cm) minor=(color=blue height=.5 cm); -----Original Message----- From: Chris [mailto:chris.chan1@GMAIL.COM] Sent: Wednesday, July 07, 2004 1:24 PM To: SAS-L@LISTSERV.UGA.EDU Subject: SAS Grap...

Re: Print a list of all variables, format, labels and value labels #2
Shuaib, You can't get this from PROC CONTENTS alone. You will need to use PROC FORMAT to get at the value labels for the formats, and then merge that output with your PROC CONTENTS output. HTH, Bob Abelson HGSI 240 314 4400 x1374 bob_abelson@hgsi.com skauchali <skauchali@GMAIL.COM> Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> 05/14/2005 02:29 AM Please respond to skauchali To: SAS-L@LISTSERV.UGA.EDU cc: Subject: Print a list of all variables, format, labels and value labels Hello all; thanks for taking this little...

Re: SAS/Graph Axis & Label
This is an example. goptions reset=all; axis1 label=(a=90 'Weight'); proc gplot data=sashelp.class; plot weight * height / vaxis=axis1; format weight 16.1; run; quit; On 10/10/08, ./ ADD NAME=Data _null_, <iebupdte@gmail.com> wrote: > What is the FORMAT associated with the VAXIS. I'm guessing it has a > rather larger w. > > On 10/10/08, Ken Barz <Ken.Barz@cpcmed.org> wrote: > > I have a series of graphs that have a 90 degree angle vaxis label that > > for some reason is a good inch or so away from the actual vaxis. (Or > > more specifically, it looks like the graph and the vaxis is shifted to > > the right and the label is in the same place.) I have other graphs with > > the same options and similar data that look fine. Any idea how I can > > get the graph and the vaxis label pulled together? > > > > Thanks, > > > > Ken > > > ...

Re: processing sas dataset label values??
It would be helpful to know you objectives a bit more. The follow is an example of how one "might" access data in variable labels are run time. Since these values cannot change you should only execute the assignments one time and then retain the values. 62 data _null_; 63 attrib salary1 length=8 label="Raise 23%"; 64 attrib salary2 length=8 label="Raise 18%"; 65 attrib salary3 length=8 label="Raise 25%"; 66 call missing(of _all_); 67 68 pct1 = input(scan(vlabel(salary1),-1,' '),percent.); 69 pct2 = input(scan(vlabel(salary2),-1,' '),percent.); 70 pct3 = input(scan(vlabel(salary3),-1,' '),percent.); 71 put _all_; 72 run; salary1=. salary2=. salary3=. pct1=0.23 pct2=0.18 pct3=0.25 _ERROR_=0 _N_=1 On 10/19/07, Master Chief Petty Officer John-117 <rifazrazeek@gmail.com> wrote: > Is there a way to retreive values from dataset labels for > processing... > > i.e. > > i have a dataset being generated.. as below.. > > > varname salary1 salary2 salary3 > var label "Raise 23%" "Raise 18%" "Raise 25%" > > person 1 x x x > person 2 x x x > person 3 x x x > > i wanna retreive the values in labels (i.e. 23%, 18%, 25% etc... ) for > processing.. > i...

Re: Display SAS dataset label #4
What 'explorer' are we talking about here? Is this something in interactive sas? I for one would love to see some dset metadata (label, N, sort info, etc.) from *windows* explorer (e.g., when mouse-hovering over a sas7bdat, or after popping the properties dialog). Winsas 8.2 does not seem to do this--does v9? Maybe someone should write a little utility to write this info to the file system? (Alan Churchill, I'm looking in your direction... 8^) -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Greg Sent: Monday, January 17, 2005 9:05 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Display SAS dataset label here is the solution : add -DETAILS in config file or option details and RESTART explorer .... bye "Greg" <admin@epsilon-consulting.net> a �crit dans le message de news: 41eb711a$0$11973$636a15ce@news.free.fr... > Is it possible to display SAS dataset Label in explorer window ? > > best regards, > > Greg > ...

Re: Reading value labels from SAS file
Hari , 1.) Use Data Step and Proc Format CntlIn option. 2.) Your macro is to darn all encompasing. By that I mean it is trying to do too much. %Macro FormatVar( DSN = , VarList = , FMT = ) ; Modify &DSN ; Format &VarList &FMt ; %Mend FormatVar ; Use It like: Proc DataSets Library = ProjAInt ; %FormatVar( DSN = DataSet1 , VarList = Var1 Var2 Var3 , FMT = MYFMT. ) ... ... ... ... Run ; Quit ; Which now begs the question why use a macro at all if you still have to specify all of the vars and data sets names and formats. In stead of the macro try the following: Proc Datasets Library = ProjAInt ; Modify Dataset1 ; Format Var23 Var33 Var87 GenPurpose. ; Modify Dataset2 ; Format Var12 GenPurpose. ; Quit; Toby Dunn When everything is coming at you all at once, your in the wrong lane. A truly happy person is someone who can smile and enjoy the scenery on a detour. From: Hari <excel_hari@YAHOO.COM> Reply-To: Hari <excel_hari@YAHOO.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Reading value labels from SAS file Date: Mon, 11 Sep 2006 11:56:37 -0700 Hi, I have 10 SAS data sets which have different kinds of information and common ID's linking the data sets to each other. In each of these data sets there is atleast one variable for which the equivalent text description is stored in a variable called "GeneralPurposeValueDescrip" existing in the 11th data set. The equivalent ID to look up...

Re: SAS Graph
Chris, you could try using the 'angle' command in an axis statement, something like the following: axis1 label=(angle=90 'LVEDD' h=1) order=(0 to 80 by 10) major=(height=1.5 width=2) minor=(n=1 width=1.5 height=1.0); Deb -----Original Message----- From: Chris [mailto:chris.chan1@GMAIL.COM] Sent: Wednesday, July 07, 2004 12:24 PM To: SAS-L@LISTSERV.UGA.EDU Subject: SAS Graph - Rotate Labels Hello, I am currently using SAS graph and I've produced a basic chart with a X and Y axis. I was wondering if anyone knew how to format or ROTATE the position of the LABEL on the Y axis - so that the LABEL is parallel to the Y axis. I welcome all your suggestions! Thanks! Chris ...

Re: removing labels in SAS data sets
What is IT? What program are you using to export? You might try the SAS system option NOLABELS; options NOLABELS; <if IT is a PROCEDURE or macro this might work> run; options LABELS: On Jan 15, 2008 3:37 PM, duo wan <duo_wan@yahoo.com> wrote: > Hi All, > > I am trying to export a SAS data set into excel. However, instead of outputting variable names, it outputs the labels. Is there any way to suppress or remove the labels from a SAS data sets? > > thanks, > > Vincent > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. > ...

Re: SAS/Graph Axis & Label #2
What is the FORMAT associated with the VAXIS. I'm guessing it has a rather larger w. On 10/10/08, Ken Barz <Ken.Barz@cpcmed.org> wrote: > I have a series of graphs that have a 90 degree angle vaxis label that > for some reason is a good inch or so away from the actual vaxis. (Or > more specifically, it looks like the graph and the vaxis is shifted to > the right and the label is in the same place.) I have other graphs with > the same options and similar data that look fine. Any idea how I can > get the graph and the vaxis label pulled together? > > Thanks, > > Ken > ...

Re: processing sas dataset label values?? #2
On Fri, 19 Oct 2007 09:32:07 -0700, Bill McKirgan <Bill.McKirgan@GMAIL.COM> wrote: >Here's one very simple example using PROC CONTENTS to obtain a list of >variable names and labels, and saving those data to a new dataset. It >points to SASHELP.CITIYR, but you can change that and look to see what >is in other datasets you are more interested in working with. > >proc contents > noprint > data = sashelp.citiyr > out = citiyr_contents (keep= memname name label varnum); > run; > > data look; set citiyr_contents; > put (_all_) (=); > run; > > >I'm not sure how best to calculate the percent changes and insert them >into labels. > >I would imagine some use SCAN or INDEX to fetch those numbers from the >label variable in the contents dataset and then write SAS code to a >new variable (character $200) that can be written to a text file and >run with %include. > >I hope this helps you get started. You might search the archives for >terms like 'list processing' or 'dynamic programming' to find some >examples of what others on the L have done in this area. > >Best regards, >Bill McKirgan > > >On Oct 19, 10:34 am, Master Chief Petty Officer John-117 ><rifazraz...@gmail.com> wrote: >> Is there a way to retreive values from dataset labels for >> processing... >> >> i.e. >> ...

Re: SAS/Graph Axis & Label #3
and another... goptions reset=all; axis1 label=(a=90 'Weight' j=c h=2 in ' ' ); proc gplot data=sashelp.class; plot weight * height / vaxis=axis1; run; quit; On 10/10/08, ./ ADD NAME=Data _null_, <iebupdte@gmail.com> wrote: > This is an example. > > goptions reset=all; > > axis1 label=(a=90 'Weight'); > proc gplot data=sashelp.class; > plot weight * height / vaxis=axis1; > format weight 16.1; > run; > quit; > > > On 10/10/08, ./ ADD NAME=Data _null_, <iebupdte@gmail.com> wrote: > > What is the FORMAT associated with the VAXIS. I'm guessing it has a > > rather larger w. > > > > On 10/10/08, Ken Barz <Ken.Barz@cpcmed.org> wrote: > > > I have a series of graphs that have a 90 degree angle vaxis label that > > > for some reason is a good inch or so away from the actual vaxis. (Or > > > more specifically, it looks like the graph and the vaxis is shifted to > > > the right and the label is in the same place.) I have other graphs with > > > the same options and similar data that look fine. Any idea how I can > > > get the graph and the vaxis label pulled together? > > > > > > Thanks, > > > > > > Ken > > > > > > ...

Re: removing labels in SAS data sets #3
Don't use data steps for jobs that just modify meta data. The contents statements are included to show before and after, they would not normally be needed. data one; x=1; y=0; label x='hey x' y='hey y'; run; proc datasets nolist; contents; run; modify one; attrib _all_ label=' '; run; contents; run; quit; On Jan 16, 2008 7:57 AM, Darryl Putnam <darrylovia@gmail.com> wrote: > On Jan 15, 4:56 pm, Mterje...@RUSSELL.COM ("Terjeson, Mark") wrote: > > Hi Vincent, > > > > Here is one way: > > > > * turn on label ; > > data test; > > x = 1; > > label x='Hello'; > > run; > > > > * turn off label ; > > data test2; > > set test; > > label x=; > > run; > > > > Hope this is helpful. > > > > Mark Terjeson > > Senior Programmer Analyst, IM&R > > Russell Investments > > > > Russell Investments > > Global Leaders in Multi-Manager Investing > > > > > > > > -----Original Message----- > > From: SAS(r) Discussion [mailto:SA...@LISTSERV.UGA.EDU] On Behalf Of duo > > > > wan > > Sent: Tuesday, January 15, 2008 1:37 PM > > To: SA...@LISTSERV.UGA.EDU > > Subject: removing labels in SAS data sets > > > > Hi All, > > > > I am trying to export a SAS data set...

Re: Display SAS dataset label #3 642317
Thanks for the suggestion, but I think that only controls variable labels. I tried it, anyway, but it didn't correct the problem. Art -------- On Mon, 17 Jan 2005 07:06:59 -0800, omugeye <bhuta_zegha@YAHOO.COM> wrote: >Well, just include this in your program; >options label; > >Conversely use options nolabel;to turnn it off. ...

Re: SAS/Graph Axis & Label #4
It was numeric, but it was formatted as best12. So, that was it, thanks. -----Original Message----- From: ./ ADD NAME=Data _null_, [mailto:iebupdte@gmail.com] Sent: Friday, October 10, 2008 12:13 PM To: Ken Barz Cc: SAS-L@listserv.uga.edu Subject: Re: SAS/Graph Axis & Label What is the FORMAT associated with the VAXIS. I'm guessing it has a rather larger w. On 10/10/08, Ken Barz <Ken.Barz@cpcmed.org> wrote: > I have a series of graphs that have a 90 degree angle vaxis label that > for some reason is a good inch or so away from the actual vaxis. (Or > more specifically, it looks like the graph and the vaxis is shifted to > the right and the label is in the same place.) I have other graphs with > the same options and similar data that look fine. Any idea how I can > get the graph and the vaxis label pulled together? > > Thanks, > > Ken > ...

Re: Automated import of dynamic labeled files into SAS
Tom, Where are your file ? Are they in a folder ? Where are your file names ? anywhere or into a separate file ? Part A : you could create a data with a CARDS statement containing the file names. (copy/paste the list into the CARDS) Otherwise, I suggest you to create a PIPE Step which read a folder and retain the file names. See the 2005 archive of SAS-L about theses ways. You'll have your list into SAS. Part B : Create a loop based on this list to use the proc import. The loop could be created via a %do loop or a CALL EXECUTE statement into a data step. See the 2005 archive of SAS-L about these ways. St�phane. ----Message d'origine---- >Date: Sun, 8 May 2005 09:31:01 -0700 >De: Tom <Tommes_D@GMX.DE> >Sujet: Automated import of dynamic labeled files into SAS >A: SAS-L@LISTSERV.UGA.EDU > >Hi, > >I want to write a SAS-Base program which is able to import dynamic >labeled files into SAS. The filenames have no specific pattern. Only >one part of the filename is static. For example: >File 1: attach_first.txt >File 2: attach_hour.txt >.... >File 1000: attach_town.txt > >The structure of the file content is in every file the same. > >Exist in SAS wildcards to read in these Files? > >I would be happy to get a solution! > >A lot of Greetings from Germany. > >Tom > >A normal SAS-program with proc import looks like: >proc import datafile="D:\Service\Research\attach...

Re: Display SAS dataset label #3 1546125
The data set label displays on my PC running both SAS 8.02 TS Level 02M0 and 9.1 TS Level 1M0 on WinXPpro. RandyHerbison@westat.com -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Greg Sent: Monday, January 17, 2005 3:03 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Display SAS dataset label Is it possible to display SAS dataset Label in explorer window ? best regards, Greg ...

Re: removing labels in SAS data sets #2
Hi Vincent, Here is one way: * turn on label ; data test; x = 1; label x='Hello'; run; * turn off label ; data test2; set test; label x=; run; Hope this is helpful. Mark Terjeson Senior Programmer Analyst, IM&R Russell Investments Russell Investments Global Leaders in Multi-Manager Investing -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of duo wan Sent: Tuesday, January 15, 2008 1:37 PM To: SAS-L@LISTSERV.UGA.EDU Subject: removing labels in SAS data sets Hi All, I am trying to export a SAS data set into excel. However, instead of outputting variable names, it outputs the labels. Is there any way to suppress or remove the labels from a SAS data sets? thanks, Vincent --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. On Jan 15, 4:56=A0pm, Mterje...@RUSSELL.COM ("Terjeson, Mark") wrote: > Hi Vincent, > > Here is one way: > > =A0 =A0 * turn on label ; > data test; > =A0 =A0 x =3D 1; > =A0 =A0 label x=3D'Hello'; > run; > > =A0 =A0 * turn off label ; > data test2; > =A0 =A0 set test; > =A0 =A0 label x=3D; > run; > > Hope this is helpful. > > Mark Terjeson > Senior Programmer Analyst, IM&R > Russell Investments > > Russell Investments > Global Leaders in Multi-Manager Investing > > > > -----Original Message--...

Re: SPSS to SAS including the Value Labels please.
Necia, I've never tried it, but take a look at the following post from the SPSS equivalent of SAS=L: http://xrl.us/vmqe According to that post, one can actually get export and import both SPSS variable labels and value labels, with the latter in the form of SAS code. HTH, Art -------- On Wed, 4 Apr 2007 12:44:35 -0400, necia <black@BUFFALO.EDU> wrote: >I have a student who is having difficulty trying to convert an SPSS data >files to SAS (that works OK) AND have all the SPSS value labels become >"value labels" in SAS. I surely appreciate your help!! > >H...

Re: processing sas dataset label values?? #3
Summary: From simple to automated. #iw-value=1 John, You are asking about variable labels not data set labels. The scope of the problem is far from clear. If you have a data set like data w ; input person $char8. salary1 - salary3 ; label salary1 = "Raise 23%" salary2 = "Raise 18%" salary3 = "Raise 25%" ; cards ; person 1 . . . person 2 . . . person 3 . . . ; and for this one time you want to change the labels, I would consider using the SAS Explorer view table to edit the labels. Choose Data | Column Attributes, and then modify the labels. If you have many variables and/or want to change labels many times then you probably want to automate the process. Here is one simple process to automating the task. proc sql ; select name || "=" || quote(trim(label)|| " +2%") into :newlabs separated by " " from dictionary.columns where libname = "WORK" and memname = "W" and upcase(name) like "SALARY%" ; quit ; proc datasets lib = work ; modify w ; label &newlabs ; run ; quit ; Note that I cheated and did not try extract the numbers and do something to them. 1) I am lazy. 2) I don't know if it is worth the effort. 3) I don't really think the rules are as simple as "add 2 to each percent". 4) I don't like the idea ...

Web resources about - Re: Labels ....Labels - comp.soft-sys.sas

Label - Wikipedia, the free encyclopedia
A label is a piece of paper , polymer , cloth , metal , or other material affixed to a container or article, on which is printed a legend, information ...

Shane Warne labels Waleed Aly 'arrogant' after The Project interview
A seriously cranky Shane Warne has apparently labeled Waleed Aly "arrogant", "smug" and "a dick" after the journalist questioned the former international ...

Shane Warne labels Waleed Aly 'arrogant' after The Project interview
A seriously cranky Shane Warne has apparently labeled Waleed Aly "arrogant", "smug" and "a dick" after the journalist questioned the former international ...

Perth fashion designer Kate Watts' tragic story behind label 'Only One Ashley'
Perth designer Kate Watts' newly launched label 'Only One Ashley,' portrays a successful, elegant woman full of confidence.

Who Can Use Poo on Labels? It's a Federal Case as Poo-Pourri Sues RB
Just who has the right to put Poo on their product labels? A federal court may be about to decide now that tiny Poo-Pourri has sued global packaged-goods ...

Ashley Graham thinks the ‘plus-sized’ label is ‘outdated’ & needs to go
... more. The quotes are interesting: On the term “plus sized”: “I think the word ‘plus-sized’ is totally outdated. It shouldn’t be about labels. ...

State Department delays decision to label ISIS atrocities 'genocide'
The US State Department has delayed the decision to call the suffering of Christians and other religious minorities in the Middle East genocide. ...

These underdogs vie for best beer label
These craft breweries may be smaller in size, but their artistic labels pack a powerful creative punch that could make them bracket busters. ...

General Mills to label products with GMOs ahead of Vt. law
NEW YORK (AP) — General Mills said Friday it will start labeling products across the country that contain genetically modified ingredients to ...

Whole Foods Asks Judge To Put The Kibosh On Lawsuit Over “Natural” Label On Baked Goods
When it comes to products with labels reading “all natural,” are you willing to pay more than you would otherwise? Whole Foods customers who ...

Resources last updated: 3/18/2016 11:14:11 PM