Stores a memory archive (created with ZipCreate's "MEMORY" option) into a REXX variable. This is called after you've called ZipAdd to zip up some contents into the archive, and before you call ZipClose).
Synopsis
error = ZipGetMemory(ZipHandle, VariableName)
Args
ZipHandle is the handle returned by ZipCreate().
VariableName is the name of some variable where you would like the ZIP archive stored. If you're passing the variable name directly, remember to quote it.
Returns
An empty string if the ZIP archive is successfully stored, or an error message if not. (If ZipErr is set to "NUM", then 0 is returned for success, or an error number).
Notes
You can store the ZIP archive only once. After you call ZipGetMemory, the memory archive is automatically reset to empty so that you can create a new archive just by calling ZipAdd to add some files to it, and then follow up with another ZipGetMemory to store that new archive.