@Tom
Just a side note.
With the current SAS (9.4M2 and newer) you don't need any external ZIPping software.
The following code makes 128KB file into 2KB zip.
data class; /* demo dataset */
set sashelp.class;
run;
filename cmprss ZIP "%sysfunc(pathname(work))/class.zip" member="class.sas7bdat" lrecl = 1 recfm = f;
filename in "%sysfunc(pathname(work))/class.sas7bdat" lrecl = 1 recfm = f;
data _null_;
rc = fcopy("in", "cmprss");
put rc = ;
run;
and the following one will unzip it back:
data _null_;
rc = fcopy("cmprss", "in");
put rc = ;
run;
All the best
Bart
... View more