Date: Tue, 19 Mar 1996 16:21:56 -0500
Reply-To: Tso-Yu Liao <tso-yo.liao@UTMB.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Tso-Yu Liao <tso-yo.liao@UTMB.EDU>
Subject: Reading subgroup of dataset
I am trying to print out subgroup of a dataset. To determin this subgroup is
based on another dataset. Two datasets are like this,
Dataset A
variable v1 v2 v3 v4 v5 v6
value 1-5 1-2 1-6 1-4 1-7 1-9
Dataset B
variable v1 v2 v3 v4 v5
value 1-5 1-2 1-6 1-4 1-7
Dataset B is subset of dataset A with less combinations of v1-v5.
I want to print out all v6 in dataset A with same combination of v1-v5 in
dataset B.
I tried proc sql but could not get the result of what I want.
Any help will be appreciated.
--------------------------------------------------------------
Tso-Yu (Joey) Liao
Research Associate
Department of Obstetrics & Gynecology
Univsersity of Texas Medical Branch at Galveston
Voice: (409)747-4921
FAX: (409)772-5803
--------------------------------------------------------------