There are these utilities that you seem to come across all the time, but I am yet to come across a function or procedure to simply list the contents of a directory. Among the different approaches, let’s look at a simple approach using a single DATA step.
About Magnus Mengelbier
Magnus has been working within the Life Science and IT industry for over 20 years. Spends most of his time programming in SAS, R, Java and other languages or just simply thinking of new ways of working. A keen advocate of simple uses of programming skills and technology and a frequent participant of PhUSE, PharmaSUG, SAS Global Forum and other programming forums.
Entries by Magnus Mengelbier
SAS has had the ability to utilize and execute Java code from within a DATA step for quite some time, as far back as SAS 9.1. Early use was focused on computations, simulations, data streams and visualizations where it was more efficient to use packages, libraries and utilities other than SAS.
A simple SAS macro library is usually quick and easy to create but the effort of debugging or just simple to unravel where in a chain of macros an issue occurs can be frustrating, unless SAS can tell you where you are and how you got there, which it can.
211 11 Malmö
Org nr 556888-7601
e-mail info (at) limelogic.com
tel. +46 40 685 14 80