BookmarkSubscribeRSS Feed
SASTECH1
Fluorite | Level 6

Hi All,

When we extract data from SAP HANA table into SAS table by PROC SQL query, we got below result.

SASTECH1_0-1676479901687.png

1. We need SAS to write double quote (") instead of special characters 'â€' in the SAS Table.

2. Also we need whatever character(includes - -/:;()$&@".,?!'[]{}#%^*+=_\|~<>) comes from SAP HANA table, that need to be write same in SAS table as well.

Please help on this.

@PaigeMiller

@Kurt_Bremser 

@Tom 

2 REPLIES 2
SASKiwi
PROC Star

Looks like an encoding mismatch between SAP HANA and SAS. You can check your SAS encoding like this:

proc options option = encoding;
run;

For a particular table use this:

proc contents data = MyTable;
run;

Post the results from running these.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 869 views
  • 2 likes
  • 3 in conversation