BookmarkSubscribeRSS Feed
ajoros
Calcite | Level 5

Hey there, does anyone know how to print the disk space available from Code section in SAS university edition. I have been trying to do so via executing code but I have no success. And unfortunately the documentation online doesn’t seem to help too much. I am using the SAS University edition that comes with the AWS AMI. I don’t have access to the AWS terminal so I’m trying to print out disk storage capacity from within SAS itself. Is this doable ?

 

I used the following but it didnt work I think due to permissions issues:

filename df_list pipe "df -h /folders/myfolders/sasuser.v94";

Thanks

3 REPLIES 3
ballardw
Super User

If that is all of your code then you need to actually read the data piped to the filename reference.

 

What does the log show when you submit that code?

Kurt_Bremser
Super User

The locally installed SAS UE (virtual machine) has XCMD disabled, so this won't work.

Just use the tool of the host operating system (e. g. Windows Explorer on Windows).

AhmedAl_Attar
Ammonite | Level 13

Filename PIPE statements are not supported in SAS UE

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 957 views
  • 0 likes
  • 4 in conversation