Skip to content

The LibnameZip package, version: 0.1.0

Choose a tag to compare

@yabwon yabwon released this 18 May 18:28
· 1 commit to main since this release

The LibnameZip package, version: 0.1.0;


The LibnameZip package is a bunch of macros design to help emulate a ZIP-library engine in SAS.

[This is still an experimental phase, your feedback is most appreciated!]

Package allows seamlessly push back and forward data from a SAS library to a compressed ZIP file.

This release introduced the DATA statement emulation through the %DataLibnameZip() macro.

Check documentation for details.


EXAMPLE. Create library G associated with the R:/libnameZIP_G.zip file. Write DATA step result directly to the ZIP file. The run; statement after the macro call is optional.

%libnameZip(G,R:/libnameZIP_G.zip)


%DataLibnameZip(G.cars;
  set sashelp.cars;
  by origin notsorted;
  drop invoice mpg:;
  if last.origin then output ;
)


%DataLibnameZip(G.square;
  array x[100] (1:100);
  do i = 1 to 100;
    output;
  end;
  drop i;
)
run;

%DataLibnameZip(G.class;
  set 
    sashelp.class
    sashelp.class
    sashelp.class
    sashelp.class
    sashelp.class
  ;
)
run;

proc contents data=G.cars;
run;

Version information:

  • Package: LibnameZip
  • Version: 0.1.0
  • Generated: 2026-05-18T20:14:38
  • Author(s): Bartosz Jablonski (yabwon@gmail.com)
  • Maintainer(s): Bartosz Jablonski (yabwon@gmail.com)
  • License: MIT
  • File SHA256: F*188F1E42A8F829BEF8F2D62A0A32B780994B0562EEC870C92528D25200C2E55A for this version
  • Content SHA256: C*5038B13B5178ADA3D43A6D54AAEEF07084F7DEF00324DFA8370B8ABF42BDEAEB for this version

Required SAS Packages:

  • BasePlus(3.1.4)