Menu item 4: Delete entry from archive (DLTARCHIVE)
This command deletes an entry from the archive.
- In the i-effect compression menu you enter item 4 "Delete an entry from archive". You can enter the command DLTARCHIVE directly aswell.
- The now displayed screen enables you to set further parameters that are used for deleting. Enter these parameters like in the following description.
The display on the screen depends on the previousely entered parameters. This is shown by "- only for ...". For example are parameters, that depend on a specific file system - shown by "-only for FS(*IFS)" and "- only for FS(*DB2)" -, only shown if it was marked previousely.
File system (FS) | Name of the file system where the archive is to be created.
| ||||||||||||||||||||||||||||
Archive-format (FORMAT) | The format in which the archive is to be created in.
| ||||||||||||||||||||||||||||
Method of compression (COMPRESS) | The method of compression depends on the format. For the Zip-format there is no specification needed to delete an entry. For Tar, Ar and Cpio the method has to match with the existing archive in case it was given during the creation. For the 7z-format you should use the same method you did during the creation, otherwise the archive will be converted.
| ||||||||||||||||||||||||||||
Possible special values for 7zip: |
| ||||||||||||||||||||||||||||
Possible special values for Zip: | For the Zip-format no specification is needed for deleting an entry. | ||||||||||||||||||||||||||||
Archive-file (ARCFILE) - only for FS(*DB2) | The qualified name of the archive-file.
| ||||||||||||||||||||||||||||
Archive-file (ARCPATH) - only for (*IFS) | Name of the complete path of the archive-file that is to be created (e.g. /usr/usrlib1/test.zip). With this name a new file is created in the end of the path you entered, whose content matches the format of an empty ZIP-archive.
|
Hint for the 7z-format:
If an encrypted 7z-archive is modified by adding (ADDARCHIVE) or deleting (DLTARCHIVE) an entry, the whole archive is going to be decrypted afterwards. This is due to the fact that the whole archive has to be overwritten and the *ZIP module supports only decrypting, not encrypting.
Password (PASSWORD) - only for FORMAT(*SEVENZIP) | Encrypted 7z-archives need a password to work.
CCSID The codepage which is used for entering the password.
| ||||
Following number or name (NAMEPOS) | A file can be found in the archive on two ways. You can do it by giving the relative position in the archive or by giving an exact specification of the file- and path-name as well as date and time of creation. In this parameter you choose the way you want to search.
| ||||
Following number (FOLGE) - only for NAMEPOS(*POS) | Enter the position-number in the archive.
| ||||
Path (FILEPATH) - only for NAMEPOS(*NAME) | For selection by name you have to give the exact path name in this parameter. It has to match EXACTLY with the pathname in the archive to be found. | ||||
Date (FILEDATE) - only for NAMEPOS(*NAME) | For selection by name you have to give the date of the file in this parameter. The entry in the archive has to be marked with this date to be found succesfully.
| ||||
Time (FILETIME) - only for NAMEPOS(*NAME) | For selection by name you have to give the time of the file in this parameter. The entry in the archive has to be marked with this time to be found succesfully.
| ||||
CCSID of entry name (ENTRYCCSID) | This parameter can set the entry name CCSID (Coded character set identification) if a detection problem occurs. The content of the files is not affected.
|