|
your (in = ...) is wrong. You need a variable there to keep the information
"true" or "false", in SAS 1 or 0, like:
(in = ae) and
(in = treatement)
you can also use different names like
(in = in_one)
you simply have to change your IF - statement for that.
That has nothing to do with the dataset-name work.ae or ae.
Regards,
Gerhard
On Mon, 18 Dec 2006 04:03:22 -0800, RAMS <ramsathish@GMAIL.COM> wrote:
>Hi all,
>
>
> I have two data sets called AE and Treatment. In AE data set I
>have the information about 43 subjects and in Treatment data set I have
>24 subjects only.
>
>when i Try the Following code
>
>data work.adverse_event;
>merge work.ae (in = work.ae) work.treatment (in = work.treatment);
>by sno;
>if ae and treatment;
>run;
>
>
>I am getting the error message of "Variable name is not valid".
>
>Anyone please help me to merge these two datasets.
>
>Thanks in advance.
>
>
>Regards,
>
>
>Ramsathish S
|