Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

REORGANIZE-ZIP-CONTAINER

&pagelevel(4)&pagelevel

This command reorganizes ZIP container by creating a another file and copying all files from the archives there. Deleted files and files that were interrupted during ADD-FILE are skipped. By default this command creates archives with names in the format of BS2ZIP.REORG.YYYY-MM-DD.HHMMSS.TMP and if the reorganization succeeds the original ZIP container is deleted and the new one is renamed to the filename of the original archive. To preserve the original archive it is possible to specify the output file explicitly.

REORGANIZE-ZIP-CONTAINER

CONTAINER = *STD / <filename 1..54 without-gen-vers> / *LINK(...)


*LINK(...)



|

LINK-NAME = <structured-name 1..8>

,OUTPUT-CONTAINER = *STD / <filename 1..54 without-gen-vers> / *LINK(...)


*LINK(...)



|

LINK-NAME = <structured-name 1..8>

CONTAINER = *STD
The opened ZIP container is reorganized. If no ZIP container has been opened yet, the statement is rejected.

CONTAINER = <filename 1..54 without-gen-vers>

Name of the ZIP container to be reorganized.

CONTAINER = *LINK(...)
ZIP container to be reorganized is referenced by a link name.

LINK-NAME = <structured-name_1..8>
Link name associated to the ZIP container to be reorganized.

OUTPUT-CONTAINER = *STD
The file is reorganized into an intermediate file under file name location BS2ZIP.REORG.YYYY-MM-DD.HHmmSS.TMP. The intermediate archive substitutes the original archive and gets deleted. The original file can be opened only in *UPDATE mode.

OUTPUT-CONTAINER = <filename 1..54 without-gen-vers>

The file is reorganized into an intermediate file under the specified file name location. This file is not deleted on a successful end. The original file stays unreorganized and is not required to be opened in *UPDATE mode.

OUTPUT-CONTAINER= *LINK(...)
The file is reorganized into an intermediate file under the file name location referenced by a link name. This file is not deleted on a successful end. The original file stays unreorganized and is not required to be opened in *UPDATE mode.

LINK-NAME = <structured-name_1..8>
Link name associated to the ZIP container to be reorganized.

Notes

  • During the reorganization of a ZIP container, no other access to this ZIP container is permitted.

  • If the ZIP container has already been opened by another task, it cannot be reorganized.