BookmarkSubscribeRSS Feed
alepage
Barite | Level 11

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 
2 REPLIES 2
jimbarbour
Meteorite | Level 14

@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;

 

 

SASKiwi
PROC Star

If you want a solution then please post the code that is causing the problem in the first place.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 926 views
  • 1 like
  • 3 in conversation