|
For me it's not clear what you want to do:
I understand, that the 20 datasets have common variables with different
labels. You want to give the variables new labels... Is the 20-datasets-list
fix or do you need it dynamicly ("each dataset in a lib, ...)? where do the
labels come from? Do you key them in? Do they come from one of the datasets?
Wich one is the "master"? Are only the common variables to be labeled? Is
this a "one-time-task" or do you need that often?
If one-time, open the dir window and from there all variable-list windows,
then use "r"(ename) to assign the new lables.
If you need that often, use a macro with
...
PROC DATASETS....;
MODIFY sas_ds
LABEL=...;
run;
...
On Wed, 24 May 2006 09:42:23 +0800, MOORTHY Prakash Eswara
<MOORTHYP@ESSILOR.COM.SG> wrote:
>Hi all,
>Iam using SAS 8.2 version,
>I have 20 datasets each having variables, in some datasets variable names
>are also the same as in other datasets but with different "Labels" and
>these dataset contains more than 50000 observations, now I want to change
>the Labels with a new "Label" some body could help me how to do this .new
>labels along with variables are in a dataset I just want to map the new
>labels to the existing one.
>
>Thanks,
>Prakash.
|