Nancy
Without seeing the actual input statement and error message, I can only
guess but I suspect that you are reading Zip as a numeric field and SAS
will get very upset if it sees a hypen in a numeric field. I would read it
as a character field.
Nat Wooding
Environmental Specialist III
Dominion, Environmental Biology
4111 Castlewood Rd
Richmond, VA 23234
Phone:804-271-5313, Fax: 804-271-2977
Cel Phone: 804-205-0752
Nancy
<nancy0318@GMAIL.
COM> To
Sent by: "SAS(r) XXXX@XXXXX.COM
Discussion" cc
< XXXX@XXXXX.COM
GA.EDU> Subject
CSV format importing problem, thank
you!
06/29/2009 02:12
PM
Please respond to
Nancy
<nancy0318@GMAIL.
COM>
In the CSV file, there is a variable named Zip, which includs number
values such as 32310 and character value such as 32310-2345.
When i tried to import the file, there was always error message for
the value 32310-2345. How I can treat the variable as character value
during importing?
Thank you very much!
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.