BookmarkSubscribeRSS Feed
sabataged
Obsidian | Level 7

Hi everyone, 

I just switched over to a Mac, and I can't access desktop SAS until I get Parallels and a new SAS license from my university. Until then, I'm using SAS OnDemand. 

 

Anyway, I am noticing an issue.  I am able to call in my format library in desktop SAS with the same lines of code, but it is not working in SAS OnDemand.  Whenever I run a proc freq, the unformatted values are showing. 

 

This is my code: 

libname data "/home/sabajamin0/Chat3";

*format library; 
libname in "/home/sabajamin0/Chat3/Formats";
libname library "/home/sabajamin0/Chat3/Formats";

data analytic; 
set data.analytic; 
run; quit; 

proc freq data=analytic; 
table b2gender/missing; 
run; quit; 

This code runs smoothly in desktop SAS with the appropriate formatting. I'm not sure what i'm doing wrong. Any suggestions would be greatly appreciated.  Thanks in advance!  

1 REPLY 1
Reeza
Super User
Where did you apply the format on the data?
Is it on the data.analytic data already? If so, can you show a proc contents to confirm that?

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 521 views
  • 0 likes
  • 2 in conversation