BookmarkSubscribeRSS Feed

My First SAS® Package: A How-To

Started ‎03-22-2021 by
Modified ‎09-01-2021 by
Views 4,385
Paper 1079-2021
Author 

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

 

ABSTRACT

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 SPFinit.sas (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 THE PRESENTATION

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

 

 

WHERE TO LOOK FOR MATERIALS

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

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

@michal_1407 

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

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

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Article Tags