Creates a zip file. More...
For DIRECTORY usage, will ignore subfolders. For DATASET usage, provide a column that contains the full file path to each file to be zipped.
mp_zip(in=myzips,type=directory,outname=myDir) mp_zip(in=/my/file/path.txt,type=FILE,outname=myFile) mp_zip(in=SOMEDS,incol=FPATH,type=DATASET,outname=myFile)
If you are sending zipped output to the _webout destination as part of an STP be sure that _debug is not set (else the SPWA will send non zipped content as well).
|in=||unquoted filepath, dataset of files or directory to zip|
|type=||FILE, DATASET, DIRECTORY. (FILE / DATASET not ready yet)|
|outname=||output file to create, without .zip extension|
|outpath=||location for output zip file|
|incol=||if DATASET input, say which column contains the filepath|
Definition in file mp_zip.sas.