BookmarkSubscribeRSS Feed
yabwon
Amethyst | Level 16

Hi SAS-C,

 

The other day I was talking with  Stu Sztukowski (@Stu_SAS) about size of SAS data sets compared with DuckDB tables and, as the discussion drifted, we came to a conclusion that (to save some space) it would be cool to have a ZIP library engine in SAS. An engine that allows to read and write SAS data sets from a ZIP file, similarly to (for example) XLSX or JSON engines, or the filename ZIP.

 

As some of you know, my "internal problem solver mode" is enabled by the "you probably cannot do something like this in SAS" sentence. This was the case too...

 

Allow me to share the LibnameZIP package. A package that emulates the requested behavior, i.e., reading and writing SAS data from a ZIP file.

 

If you have the latest SAS Packages Framework, simply run:

%requestPackage(LibnameZIP)

read the latest release notes: https://github.com/SASPAC/libnamezip/releases

 

check out the documentation: https://github.com/SASPAC/libnamezip/blob/main/libnamezip.md

 

and give LibnameZIP a try!

 

Since this is still an "experimental" phase, your feedback is most appreciated!

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 0 replies
  • 50 views
  • 0 likes
  • 1 in conversation