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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.