LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2003, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 31 Oct 2003 10:22:36 +0100
Reply-To:   Jean-Pierre RENAUD <renaud@nancy.inra.fr>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jean-Pierre RENAUD <renaud@NANCY.INRA.FR>
Organization:   I.N.R.A
Subject:   a SET or a MERGE problem, not a standard merge problem : please help!

I have 2 files: one with department names (dpt) ; tree species (1 dpt could have many species); and a 3rd var (index_a). the other with dpt and forested region names (1 dpt could have many forested reg.)

I want to multiply file 1 by file 2, in order to obtain for each "forested region within a dpt" the info about the "dpt species index" line .

It is not just a normal merge... but I am lacking experience to do the coding.

Could someone help me please!

Thank in advance!

Here is an example of want I want to do

File 1 dpt tree_sp index 1 1 5 1 2 5 1 3 4 2 1 1 ...

File 2 dpt reg 1 1 1 2 2 1 ...

Final file should look like dpt reg tree_sp index 1 1 1 1 5 1 1 2 5 1 1 3 4 1 2 1 5 1 2 2 5 1 2 3 4 2 1 1 1 ...


Back to: Top of message | Previous page | Main SAS-L page