Date: Thu, 23 Aug 2007 09:08:27 -0400
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <Nathaniel.Wooding@DOM.COM>
Subject: Re: multiple dlm
Content-Type: text/plain; charset="US-ASCII"
I was playing with this a few minutes ago and discovered that you cannot
dlm= ' ," '
when you specify DSD. The message is
ERROR: Quotes (' or ") have been detected in the delimiter (DLM=) string.
Quotes may not be used as delimiter characters when the DSD option is also
NOTE: The SAS System stopped processing this step because of errors.
Environmental Specialist III
Dominion, Environmental Biology
4111 Castlewood Rd
Richmond, VA 23234
Phone:804-271-5313, Fax: 804-271-2977
Sent by: "SAS(r) cc
GA.EDU> Re: multiple dlm
Please respond to
> 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.
I don't know if your "," is literal or not.
Try using these infile options
DSD allows you to easily read in quoted values.
Infile does not support a multi-character delimitation. When the DLM option
has more than one character, each character is utilized as a delimiter.
Thus, if you have
it would be the same as
Richard A. DeVenezia
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.