BookmarkSubscribeRSS Feed
superbibi
Obsidian | Level 7

Hi SAS users,

 

Can the byte function be used in sas studio? 

 

data a ;
plusmin = byte(177);

proc print data = a ;
run;

 

If I used the above code and can not get the plus minus sign in the dataset nor the print table.

 

Thank you.

2 REPLIES 2
Rick_SAS
SAS Super FREQ

SAS Studio is merely a GUI interface to SAS. It doesn't change the way SAS works. We need to know the underlying version of SAS you are running. Is this SAS University Edition? A local PC version? A remote server? What version of SAS are you running?

 

In answer to your question, yes, your program runs correctly from SAS Studio for me, so something else is going on.

superbibi
Obsidian | Level 7

I am using SAS University Edition. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 937 views
  • 0 likes
  • 2 in conversation