Date: Mon, 18 Dec 2006 04:32:34 -0800
Reply-To: "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Mogens A. Krogh" <MKROGH@DSR.KVL.DK>
Subject: Re: Merging two files
Content-Type: text/plain; charset="us-ascii"
Your in= is invalid. IN= references at variable not a dataset.
It should be somthing like this.
merge work.ae (in = dataset_ae) work.treatment (in =
if dataset_ae and datset_treatment;
Mogens A. Krogh
> 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;
> I am getting the error message of "Variable name is not valid".
> Anyone please help me to merge these two datasets.
> Thanks in advance.
> Ramsathish S