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
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
|