Selection of Archived Logs

If archiving of eCATT Logs is configured, expired logs that are to be archived are regularly deleted from the database and transferred to an external archive system. These logs are not usually included in the selection.

However, using method SET_ARCHIVE_SELECTION( ), the API can be instructed to search for logs in the archive too.

Example

Logs from the archive system that match the selection criteria are also included in the results set. Be aware of the following restrictions:
  • Depending on the type of archive system connected and on the volume of the archived data, access to the archive index and the archive system itself may be significantly slower than to the normal database.

  • Only a few selection methods are supported for searching in the archive:
    • Selection by range tables (restricted field list)

    • Selection by log number
    • Selection by test script
  • If archive searching is activated and search criteria are specified that cannot be applied to archived logs, an exception of type CX_ECATT_API_LOG triggered.

An archived log can be identified by the “1“ at ther start of the log number, and by the archiving flag “A” in the header record.

It should also be noted that a selected header record of an archived log only contains data from the archive index. Only when a method of interface IF_ECATT_API_LOG_HEAD is called again, is the complete log data transferred from the archiving system.