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 (June 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 29 Jun 2000 14:08:55 -0400
Reply-To:   Bryan Shumway <bshumway@MIT.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Bryan Shumway <bshumway@MIT.EDU>
Subject:   Merging Two Files

It's been a while since I've used SAS, and I'm almost certain that the following can be done faily simply -- however I can't figure out how to do it. Any help would be appreciated.

I have two textfiles that (for this example) each contain one column of data. So they look like this:

FileA: 1 2 3 4 5

FileB: a b c

I would like to create a dataset (and eventually export to text, but I already know how to do that) that looks like this:

FileC: 1 a 1 b 1 c 2 a 2 b 2 c ...etc.

Can anyone help me out on this? Thanks.

Bryan Shumway MIT Department of Urban Studies & Planning


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