Skip to content

Releases: SASPAC/libnamezip

The LibnameZip package, version: 0.2.0

21 Jun 09:31

Choose a tag to compare

The LibnameZip package, version: 0.2.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 following feature: when used with the SQLinDS package, the %LibnameZipData() macro allows saving SQL queries results in the ZIP.

Check documentation for details.


EXAMPLE. Create library H associated with the R:/libnameZIP_H.zip file.
Use the SQLinDS package to save SQL query result in libnameZIP.

%loadPackage(SQLinDS)

%libnameZip(H,R:/libnameZIP_H.zip)

%LibnameZipData(H,CARS,%SQL(select * from sashelp.cars))

Version information:

  • Package: LibnameZip
  • Version: 0.2.0
  • Generated: 2026-06-21T11:16:49
  • Author(s): Bartosz Jablonski (yabwon@gmail.com)
  • Maintainer(s): Bartosz Jablonski (yabwon@gmail.com)
  • License: MIT
  • File SHA256: F*7EB405957AA9684740B83195FDBCA3A3BFBD4AF31223FDAD39E9F32DB43DC9D5 for this version
  • Content SHA256: C*55084DAFAD52F17536DFC0FC4BAE2154A941BCF99E2A751106736C92567E4719 for this version

Required SAS Packages:

  • BasePlus(3.1.4)

The LibnameZip package, version: 0.1.0

18 May 18:28

Choose a tag to compare

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)

The LibnameZip package, version: 0.0.1

18 May 11:57

Choose a tag to compare

The LibnameZip package, version: 0.0.1;


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.

Check documentation for details.


EXAMPLE. Basic use case - Create library A associated with the R:/libnameZIP_A.zip file. Save the work.cars in A as cars. Read A.cars back (two ways) and compare results.

%libnameZip(A,R:/libnameZIP_A.zip)


data work.cars;
  set sashelp.cars;
  do i = 1 to 1e3;
    output;
  end;
  label i = "Label for i";
run;
%libnameZipData(A,cars,work.cars);


data work.cars2;
  set %libnameZipSet(A,cars);
run;

data work.cars3;
  set A.cars; *works too!!;
run;


proc compare
  base=work.cars
  comp=work.cars2;
run;

Version information:

  • Package: LibnameZip
  • Version: 0.0.1
  • Generated: 2026-05-18T12:33:38
  • Author(s): Bartosz Jablonski (yabwon@gmail.com)
  • Maintainer(s): Bartosz Jablonski (yabwon@gmail.com)
  • License: MIT
  • File SHA256: F*88F0CBD8AE5D406EA48C93BBB488F16491A3B9A6F088F88393DBF3F940FD29CF for this version
  • Content SHA256: C*04483A086998A99CF2CBB7B3256117473D7105FEA032E9F1FA3ED01D8F5AB761 for this version

Required SAS Packages:

  • BasePlus(3.1.4)