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 (February 2005, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 23 Feb 2005 09:57:07 -0800
Reply-To:     omugeye <bhuta_zegha@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         omugeye <bhuta_zegha@YAHOO.COM>
Organization: http://groups.google.com
Subject:      Reading ASCI text file
Content-Type: text/plain; charset="iso-8859-1"

I have a text file that goes over two lines like: ID kount <on 1st line> <list of Variables on 2nd line> 1001 2 999 888 1007 8 111 222 333 444 555 666 777 888 1002 5 987 876 765 654 543 . . .

I would the SAS data file to be like: id count var1-var(Kount) 1001 2 999 888 . . . . . 1007 8 111 222 333 444 555 666 777 888 1002 5 999 888 777 666 555 . . .

I do not know maximum kount. It needs to be determined dynamically.

All help appreciated.


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