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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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