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. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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