Date: Mon, 23 Feb 2009 05:16:05 -0500
Reply-To: Nathaniel.Wooding@DOM.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <Nathaniel.Wooding@DOM.COM>
Subject: Re: infile
In-Reply-To: <200902230739.n1MBuDAN008716@malibu.cc.uga.edu>
Content-Type: text/plain; charset="US-ASCII"
Your infile statement should read
Filename Getdate ' put the path of your file here ';
Data ReadData;
INFILE GETDATA DLM='09'X DSD MISSOVER;
Input .... ;
"Getdata" may be any fileref that you wish to use. The '09'x is the
hexadecimal representation of a tab character.
To write a tab delimited file, the File statement should be similar to
File Out DLM = '09'x dsd;
Nat Wooding
Environmental Specialist III
Dominion, Environmental Biology
4111 Castlewood Rd
Richmond, VA 23234
Phone:804-271-5313, Fax: 804-271-2977
Venkatesh K
<venkatesh.kadiya
la@GMAIL.COM> To
Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU
Discussion" cc
<SAS-L@LISTSERV.U
GA.EDU> Subject
infile
02/23/2009 02:39
AM
Please respond to
Venkatesh K
<venkatesh.kadiya
la@GMAIL.COM>
i have data in .txt format and the values are Separated by tab,how to read
that data through infile statement.similarly i want write the data to
external file (for text document) using file statement and the data should
be separated by tab?
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.