BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi All,

I am new to SAS.

I was wondering if browsing folders on filesystem(On windows platform) is possible using SAS script within a SAS program. If yes, Can someone please guide me through this?

Any help much appreciated.

Thanks,
Neel
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Browse? Scan maybe, from within a SAS program to identify candidate files for processing with a subsequent DATA step, depending on your SAS program requirements.

Suggest exploring the FILENAME statement and the PIPE engine for interacting with the OS. You will find technical and conference topic-related papers at the SAS Support http://support.sas.com/ website, using the website's SEARCH facility, as well as the SAS-hosted documentation, also available at the website (as well as online in SAS). With SAS, there is a "companion guide" for each operating system, which will keep the subject matter relevant to a given operating system platform.


Scott Barry
SBBWorks, Inc.
deleted_user
Not applicable
Thanks Scott for immediate reply!

I will refer to the links that you've pointed to.

I wanted to check with you something else too. How do we pass command line arguments to a SAS program and read the arguments in the SAS program?

Thanks & Regards,
Neelam

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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