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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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