Date: Mon, 15 Dec 2008 10:00:47 +0000
Reply-To: karma <dorjetarap@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: karma <dorjetarap@GOOGLEMAIL.COM>
Subject: Re: withdraw label
In-Reply-To: <341fffae-1357-4d4b-b2f5-c7da5182110c@t26g2000prh.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Works in V8
Just to note, this statement can also be used in the datastep
attrib _all_ label=''; *remove labels;
2008/12/15 ash007 <RamsamyAshley@gmail.com>:
> Do u know how to remove the label of all the variables of a table
> please.
>
> Thanks.
>
> the code below is wrong - I don't know why.
>
> DATA BIDON;
> INPUT X1 X2 X3 X4 X5 $; CARDS;
> 2 5 5 1161 ABÉLIEN
> 35 6 3 1336 ALMÉRIC
> 82 1 5 1499 ANIEL
> ;RUN;
>
>
> DATA BIDON_NEW;
> SET BIDON;
> LABEL X1 = 'DEPARTEMENT DE NAISSANCE';
> LABEL X2 = 'CODE DE LA COMMUNE';
> LABEL X3 = 'NOMBRE DE VERSEMENTS';
> LABEL X4 = 'DERNIER VERSEMENT';
> LABEL X5 = 'PRENOM REVE';
> RUN;
>
>
> PROC DATASETS LIB = WORK NOLIST;
> MODIFY BIDON_NEW;
> ATTRIB _ALL_ LABEL = '';
> QUIT;
> RUN;
>
|