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 (July 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 9 Jul 2007 12:43:01 -0700
Reply-To:   "Duell, Bob" <BD9439@ATT.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Duell, Bob" <BD9439@ATT.COM>
Subject:   Re: import text files
Comments:   To: vldesilva@GMAIL.COM
In-Reply-To:   A<1184008760.102895.170190@n2g2000hse.googlegroups.com>
Content-Type:   text/plain; charset="us-ascii"

Of course; just add an INFILE statement somewhere before the first INPUT statement that points to your external file, similar to:

infile 'path-to-your-file' truncover;

I only used DATALINES to create some sample data.

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of vldesilva@GMAIL.COM Sent: Monday, July 09, 2007 12:19 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: import text files

This is great but I can't use the data lines option. Is there any way of doing this using the infile option where I specify the location of the input text file.

Thank for your time again.


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