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 (September 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 17 Sep 2003 15:45:08 +0800
Reply-To:     mmxell <docdoc1357@TIPGOD.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         mmxell <docdoc1357@TIPGOD.COM>
Organization: Another Netscape Collabra Server User
Subject:      create dataset with added column

Hi,

I want to create a dataset from a .txt file (say desc.txt). The content of the file contains only 1 text description(sample as below) abc xyz aaa

I want to create a dataset that has 2 fields: 1)index 2)desc , the result dataset desired is as follows: index desc 1 abc 2 xyz 3 aaa 4 ... 5 .... and etc.

can I do it in the DATA step? Thanks for the advice. mmxell


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