BookmarkSubscribeRSS Feed
e044800
Obsidian | Level 7

I want to read the data (originally in hebrew and looks encrypted as well) like for gender we have two values <see image capture>

 

I tried the alternate in MS access and import using Hebrew(ISO logical)<see image capture1 and capture2>

What i got as output I used this in google translate to get the final result<see image capture3>

 

Is there a turnaround in SAS as the alternate is not feasible since i have many values 


capture3.pngcapture2.pngcapture1.jpgCapture.PNG
4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

To read the file, you would use encoding=:

http://support.sas.com/documentation/cdl/en/nlsref/67964/HTML/default/viewer.htm#n0utx4w7x4exijn1wt7...

 

As for data looks "encrypted", you mean the data looks coded - i.e. there is a short term which represents a long term?  If so then you would need to have the specifications for the data, that should tell you what the long term for the coded items are and you can decode them either by conditional logic or formats.

e044800
Obsidian | Level 7

How does the excel works perfect on this and not SAS

e044800
Obsidian | Level 7

NLS was the first thing i tried my hands out before reaching out to the community. But no results 

ballardw
Super User

Please describe in detail what you tried with NLS. It won't be very helpful if we make suggestions and you respond "already tried that and failed". We can avoid making those suggestions if we know exactly what you did. We may be able in indicate where something like an option or setting was missing or incorrect if we have what was done.

 

Also it is very hard to to work on something without trial data. And please do not provide any in Excel format. Hopefully the orignial file is not so sensitive and you could post an attachment with a few rows as a text file.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 4 replies
  • 1133 views
  • 0 likes
  • 3 in conversation