Consultor Eletrônico



Kbase P89761: Is there an Hexadecimal Signature within Progress DataBase
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/2/2004
Status: Unverified

GOAL:

Is there an Hexadecimal Signature within Progress DataBase

FIX:

The first block of a database contains the master block (or a copy of something that looks like it, if it is multi-volume DataBase).

The contents of that are partially predictable and consistent.

The block header has the dbkey in the first 4 bytes.

The database version number is farther down (see the header file mstrblk.h), combined with the block size.

You have to take into account the operating system because the byte ordering varies from one system to another, as well as the Progress version.

In conclusion:
Withing Progress there is no a proper meaning of an Hexadecimal Signature.

1. There is no algorithm that mark/identify in a unique way the Progress DataBase for any version, any platform or any Block size.

2. It exist a consistency in the Master Block for the same version, same platform and same Block size.

3. The Master Block is different between versions of Progress.

4. The Master Block can be different between same version in different platforms (due to the byte ordering).

5. The Master Block is different for the same version, same platform and different block size.