Hello,
I am doing a proc compare and for some reason, I don't know , one of the field : client_email value
are converted to the second value instead of the first value. @ is converted into à
Is there a simple way to avoid that?
66 || IRDENNIS@ICLOUD.COM IRDENNISàICLOUD.COM
@alepage wrote:
one of the field : client_email value
are converted to the second value instead of the first value. @ is converted into à
Is there a simple way to avoid that?
66 || IRDENNIS@ICLOUD.COM IRDENNISàICLOUD.COM
Is the same issue as on your other post? Is this from EBCDIC?
As a quick work-around, you could do the below, but if there are other à characters in the data, this will not work. For example, and email address of Thomas_à_Kempisàemail.com would not work with this quick work-around. You would have to examine your data.
Jim
DATA Have;
INPUT Email_Address : $64.;
DATALINES;
IRDENNISàICLOUD.COM
;
RUN;
DATA Want;
SET Have;
Email_Address = TRANSLATE(Email_Address,'@','à');
RUN;
If you want a solution then please post the code that is causing the problem in the first place.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.