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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 587 views
  • 0 likes
  • 2 in conversation