Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

DELETE-FILE

&pagelevel(4)&pagelevel

This statement deletes one or several files from the ZIP file which is currently open. The statement is rejected when the ZIP container is opened in read mode.

The size of the ZIP container does not change when files contained in it are deleted. Memory space which is no longer required is released only when the ZIP container is reorganized (see the OPEN-ZIP-CONTAINER statement).

DELETE-FILE

FILE-NAME = *ALL / <composed-name 1..98 with-under with-wild(132)> / <c-string 1..1024 with-low> / *PATH-NAME(...)

*PATH-NAME(...)


|PATH=<c-string 1..1800 with-low>                                     

FILE-NAME = *ALL
All the files are deleted from the ZIP file.

FILE-NAME = <composed-name 1..98 with-under with-wild(132)>
The specified file is deleted from the ZIP file. When wildcards are used, all files matching the pattern are deleted from the ZIP file.

FILE-NAME = <c-string 1..1024 with-low>
All files which match the specified string (wildcards according to the SDF rules for wildcard selection (see SDF syntax in the “Commands” manual [2]) are permitted) are deleted from the ZIP container. Specification as a C string must be used if the container was created in a non-BS2000 system and the file names concerned do not comply with BS2000 syntax (e.g. upper/lower case).

FILE-NAME = *PATH-NAME(...)

The specified file is deleted from the ZIP file. The operand will not interpret characters like forward slash, asterisk, square brackets and others as wildcards, but as part of the filename. Use this operand to specify a relative path name inside of zip container.