Browse through file system with SAS Base


It often happens that task comes to implement certain SAS program on a machine which internal file system is not available.
These files can be useful to list files and folders, and read files, which have access granted to local user used to execute SAS programs (usually sassrv user)
In order to browse through file system where SAS is running, the following two SAS programs can be very useful:

Listing Files and Folders of the system hosting SAS





Read Files and display it in SAS Output as text






P.S. Second example is taken from SAS website, but always extremely hard to find.

Comments

Popular posts from this blog

Timeline on Latex

Exporting Skype Chat/Skype Contacts to csv file using the shell script and sqlite3 (usually already installed on mac)

trim() not supported by IE7 and IE8