Hi All,
When we extract data from SAP HANA table into SAS table by PROC SQL query, we got below result.
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.
Make sure your SAS session runs with UTF encoding.
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.