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 (August 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 23 Aug 2007 11:55:22 -0000
Reply-To:     Perry <jasper6294@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Perry <jasper6294@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: multiple dlm
Comments: To: sas-l@uga.edu
In-Reply-To:  <1187868529.313528.269380@q3g2000prf.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"

You can read all 3 dates in a single character variable and then use scan() (and input()) specifying 'a' as the delimiter to further parse it into the 3 dates you require.

On Aug 23, 7:28 am, Captain <apsteinb...@hotmail.com> wrote: > Hi I have a txt file which has a dlm of "," for most of the > variables. I then have 3 date variables on the same file that use > just a , as the dlm. After these 3 date variables I have 3 payment > variables that also use the , dlm and have a $ to begin the variable. > The file is reading in everything except the 3 date variables > (including the payment variables). > > I need to know a way to read in the file using multiple dlms, I can > not use line input since it is a dlm file. > > Thanks


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