| Date: | Fri, 3 Aug 2001 14:48:11 +0100 |
| Reply-To: | Peter Crawford <peter.crawford@DB.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Peter Crawford <peter.crawford@DB.COM> |
| Subject: | Re: Reading a txt-file with 'squares' (hexadecimal values) |
|
| Content-type: | text/plain; charset=iso-8859-1 |
sounds like some form of NLS(national language support) is needed
In SAS display manager, examine the menu options
solutions/accessories/locale setup
A suitable language setting might better tolerate the extended alphabet of
your data.
Even better if your data were delivered with NLS in mind.
Datum: 03/08/2001 13:28
An: SAS-L@listserv.uga.edu
Antwort an: Dirk M <dirk.mesotten@EMSTAXIPOST.BE>
Betreff: Re: Reading a txt-file with 'squares' (hexadecimal values)
Nachrichtentext:
Hi,
All useful codes in themselves, but they didn't solve my problem yet,
I've got a txt-file with a square in the var 'name' that always stop
reading, try the code below for an exemple:
data _null_;
file baddata;
put 'GARCIA';
put 'OTT P.';
put 'VAN LAETHEM';
put 'VAN POUCKE';
put 'LIEVENS';
put 'ABRARAY';
run;
data a;
infile baddata dlm =',';
input @;
_infile_=left(compbl(translate(_infile_,'
','000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F'x)));
informat name $10.;
input name;
run;
proc print;run;
Regards
Dirk
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
|