How to share SAS/IML programs with the world


Have you written a SAS/IML program that you think is particularly clever? Are you the proud author of SAS/IML functions that extend the functionality of SAS software?

You've worked hard to develop, debug, and test your program, so why not share it with others? There is now a location for SAS/IML programmers to upload data, programs, and documentation. In 2014, SAS created the SAS/IML File Exchange, which is a Web community where authors can upload programs that they have written and where SAS/IML programmers can search for useful programs. In 2022, the File Exchange was merged into the SAS Community Library, which provides a place for all SAS programmers to share programs.

SAS programmers have a long history of sharing programs:

The File Exchange (now the SAS Community Library) extends the usefulness of the popular SAS/IML Support Community, where programmers discuss algorithms, ask questions, and get help writing, debugging, and improving their programs. In 2013, there were more than 500 posts to the SAS/IML Support Community.

The SAS Community Library provides a much-needed repository for ready-to-use programs so that programmers can spend less time reinventing the wheel and more time writing amazing programs. To add a program to the Library, do the following:

  • Search your files for that awesome SAS/IML program that you wrote last year. Add comments to the program so that others can appreciate how clever you are! :-)
  • Read the article about how to write an article for the SAS Community Library and follow the instructions.
  • If you do not yet have a SAS profile, go to the SAS Support Communities and establish a profile. If you already have a SAS profile, log in by using your email address.
  • Follow the instructions to create a new article for the Library.

The community of SAS/IML programmers has been growing rapidly. Because the free SAS University Edition includes the SAS/IML product, I expect the community to grow even faster in the future. I hope that SAS/IML programmers of all skill levels will use the SAS Community Library, to share programs that everyone can use.


About Author

Rick Wicklin

Distinguished Researcher in Computational Statistics

Rick Wicklin, PhD, is a distinguished researcher in computational statistics at SAS and is a principal developer of SAS/IML software. His areas of expertise include computational statistics, simulation, statistical graphics, and modern methods in statistical data analysis. Rick is author of the books Statistical Programming with SAS/IML Software and Simulating Data with SAS.


  1. Pingback: Ten tips for learning the SAS/IML language - The DO Loop

  2. Pingback: Recent additions to the SAS/IML file exchange - The DO Loop

  3. Pingback: Determine whether a SAS product is licensed - The DO Loop

Leave A Reply

Back to Top