%macro zipdir(arg); *--this macro is really a pseudo-unix script. To use it, use "x cd" to the parent of the direcotry you want to zip. Invoke this macro with the name of the subdir as the sole argument. It will compress all files in that recursively and replace it with the file &arg..zip in the parent dir. Options "-m -r -9" passed to the zip command. jgb, 8-96--; %global _zipdir; %let _zipdir=&arg; x cd &arg; x zip -r -9 ../&arg..zip %quote(*); x cd ..; dm 'x pwd; log'; x unzip -l &arg; %put Type x rm -r &arg to delete directory; %mend zipdir;