Occasionally, you may need to develop an archiving program that uses two or more handles. For example, you may need to develop a delete program that first reads an archive before deleting the data from the database. The following indicates which ARCHIVE_OPEN_FOR_* function modules can be called in which order within one program.
ARCHIVE_OPEN_FOR_WRITE ® ARCHIVE_OPEN_FOR_WRITE or ARCHIVE_OPEN_FOR_READ
ARCHIVE_OPEN_FOR_DELETE ® ARCHIVE_OPEN_FOR_DELETE
ARCHIVE_OPEN_FOR_READ ® ARCHIVE_OPEN_FOR_READ or ARCHIVE_OPEN_FOR_DELETE or ARCHIVE_OPEN_FOR_WRITE or ARCHIVE_OPEN_FOR_MOVE
ARCHIVE_OPEN_FOR_MOVE ® ARCHIVE_OPEN_FOR_MOVE
The call of ARCHIVE_OPEN_FOR_CONVERSION is compatible with the other calls.