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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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