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