BookmarkSubscribeRSS Feed
wilbur
Calcite | Level 5
Hello, I am using SAS Studio University Edition (Release 3.6) for Linux Ubuntu 16.04. I am trying to get a directory listing of files using the 'ls' command, and receiving the error statements "ERROR: Insufficient authorization to access PIPE. ERROR: Error in the FILENAME statement." My code: filename DIRLIST pipe "ls /path_to_excel_files/*"; I have read online solutions regarding setting the XCMD option, but cannot find where this might be set in University Edition. Perhaps there is another way to get a file listing? I want to be able to import selected XLS files into SAS. Thanks much
3 REPLIES 3
Reeza
Super User
SAS UE does not allow/support system commands, including pipe access. However, you can use Fxxx type functions to retrieve the same information. I think the following will work on SAS UE, you do need to set up a shared folder to the path of interest though. https://github.com/statgeek/SAS-Tutorials/blob/master/Import_all_files_one_type
jennifert
SAS Employee

Hi @wilbur,

 

Just as an FYI, you can find this and other limitations here in the SAS University Edition FAQ:

Is there anything else I should know before I start using SAS University Edition?

 

thanks,

Jennifer


Catch the SAS Global Forum keynotes, announcements, and tech content!
sasglobalforum.com | #SASGF

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1769 views
  • 0 likes
  • 3 in conversation