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-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!

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