BookmarkSubscribeRSS Feed

My First SAS® Package: A How-To

Started ‎03-22-2021 by
Modified ‎09-01-2021 by
Views 2,547
Paper 1079-2021

Bartosz Jabłoński
(Faculty of Mathematics and Information Science, Warsaw University of Technology / Citibank Europe PLC, Poland)



A SAS® package is an automatically generated, single, stand alone zip file containing organised and ordered code structures, created by the developer and extended with additional automatically generated "driving" files (i.e. description, metadata, load, unload, and help files).
The purpose of a package is to be a simple, and easy-to-access, code-sharing medium that allows: on the one hand, separating the code-complex dependencies created by the developer from the user experience with the final product and, on the other hand, reduce unnecessary frustration for developers and users related to a remote deployment process.
The SAS Packages Framework is a "pack" of macros, which allows you to use and to develop SAS packages.


To create a package the developer executes a few simple steps which include the ability to:


  • prepare the code (package content files) and a description file,
  • "fit" them into a structured form,
  • download the (the SAS Packages Framework) file,
  • and execute the %generatePackage() macro.

In the article we present a step-by-step tutorial which allows to develop a SAS package.


The Article in full length is in the attachment.



Watch My First SAS Package: A How-To by the author on the SAS Users YouTube channel.




  • The SAS Packages Framework is available at the author's GitHub.
  • Materials, code, and the latest version of the article are available here.

very interesting idea, I think I will use it in my projects ; )


Let me know if you need any assistance. I gladly help.

Version history
Last update:
‎09-01-2021 09:08 AM
Updated by:



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Article Tags