Kbase 15196: Changing the checksum value in Results .QC/.QC7 file
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Changing the checksum value in Results .QC/.QC7 file
RESULTS calculates the 'checksum' in the following way, where
[database] is the name of the database being checked. The resulting
'checksum' value needs to be computed for each connected database.
DEF VAR qbf-h as DECIMAL FORMAT "zzz,zzz,zzz,zz9".
FIND FIRST [database]._Db.
FOR EACH [database]._File OF [database]._Db NO-LOCK
WHERE [database]._File._File-Number > 0:
qbf-h = qbf-h + [database]._File._Last-change.
END.
DISPLAY qbf-h.
If different sites are receiving the same .qc file from the vendor,
then they (the site admin) could run the 4GL code example above
against THEIR database, get the checksum number, and put it into the
.qc file, replacing the vendor's number.
Progress Software Technical Support Note # 15196