home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!NIHCU.BITNET!HIS
- Message-ID: <SAS-L%92072710342932@UGA.CC.UGA.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Mon, 27 Jul 1992 10:32:55 EDT
- Reply-To: Howard Schreier <HIS@NIHCU.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Howard Schreier <HIS@NIHCU.BITNET>
- Subject: Re: all possible combinations merge
- Lines: 26
-
- CONTENT: Response
- SUMMARY: SQL Equijoin is a many-many merge
- REL/PLTF: 6.06 & Later
-
- > I am running SAS 6.07 with VAX/VMS 5.5...
- >
- > Does anyone know of a good way of merging two data sets in an all combinations
- > merge for the by-variable when there are duplicates of the by variable in both
- > data sets to be merged and no other variable in common?? If I have three
- > observations of a by-variable value in the first data set and 4 in the second,
- > the final data set needs to have 12 observations with that value..
- > -----------------------------------------------------------------------------
- > Barbara Okerson BOKERSON@MEMSTVX1 (bitnet)
- > SAS Consultant BOKERSON@MSUVX1.MEMST.EDU (internet)
- > Academic Computer Services (901)678-3682 (voice)
- > Memphis State University
- > Memphis, TN 38152
-
- Use PROC SQL. The "equijoin" operation does precisely this.
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- \ Howard Schreier, U.S. Dept. of Commerce, Washington /
- / MVS 5.18 & 6.07 \
- \ Voice: (202) 377-4180 BITNET: HIS@NIHCU /
- / Fax: (202) 377-4614 INTERNET: HIS@CU.NIH.GOV \
- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
-