Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Other Activities for zip processing:

ZIP_FILES

Zips a list of files and adds them to a zip archive.

ZIP_DIRECTORIES

Zips a list of directories and adds them to a zip archive.

ZIP_LIST

Lists the contents of an existing zip archive.

 

INPUT Parameters:

ZIPARCHIVE: Required

This value should contain the full path and name of the zip archive from which a single file or the complete contents are to be extracted.
For example:   Windows   C:\savedirectory\orders.zip
IBM i   /saveorders/sav.zip

UNZIPTOPATH: Required

This parameter must contain the destination directory into which the extracted files are placed.
For example:   Windows    c:\mydirectory
IBM i  /inbound/orders

UNZIPFILENAME: Optional

If this parameter contains a value, it should be the name of the single file which is to be extracted from the zip archive.
If this parameter does not contain a value, then the complete contents of the zip archive are extracted.
The extracted file/s will be placed in the directory specified in the UNZIPTOPATH parameter.

KEEPDIRSTRUCTURE: Optional

This parameter may have a value of YES or NO. Default value is NO.
If this parameter is YES, then the directory structure in the zip archive is preserved. This means that sub directories will be created in the UNZIPTOPATH directory to match those in the zip archive.

...

If this parameter is NO, then all entries in the zip archive will be placed in the UNZIPTOPATH directory.

OUTPUT Parameters:

There are no output parameters.