XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Appendix B: Administrative Tables
XYPRO Technology Corporation 183 Proprietary and Confidential
B19: ARCHIVE Tables
There are two tables that are used to support the Archive process. The ARCHIVES
Table tracks the status of all existing Archive sets. The ARCHIVE LOG Table contains
audit data related to archive processing such as record counts. When an Archive set is
deleted, the record for that ARCHIVEID will be deleted from the ARCHIVES Table.
The deletion of the Archive set will be logged to the ARCHIVE LOG Table.
ARCHIVES Table =XMA_ARCHIVESTBL
CREATE TABLE =XMA_ARCHIVESTBL
( ARCHIVEID CHAR(5) NO DEFAULT NOT NULL -- unique archival id
,ARCHIVALDATE TIMESTAMP DEFAULT CURRENT NOT NULL -- date/time when
this archival request was made
,BEGINLCT TIMESTAMP NO DEFAULT NOT NULL -- begin time of the
archival
,ENDLCT TIMESTAMP NO DEFAULT NOT NULL -- end time of the
archival
,COMPLETED CHAR(1) DEFAULT 'N' NOT NULL -- whether the
archival is complete or not
,ARCHIVELOCATION CHAR(26) NO DEFAULT NOT NULL -- \node.$vol.subvol
,ARCHIVEVER CHAR(4) NO DEFAULT NOT NULL -- version of the
tables eg. 1.00
,ARCHIVEDESC VARCHAR(256) NO DEFAULT NOT NULL -- description of this
archive
,ARCHIVESTATUS VARCHAR(256) NO DEFAULT NOT NULL -- status of the
archival
,ARCHIVEPROCESS VARCHAR(40) NO DEFAULT NOT NULL -- archival process
,RESTARTSTEP SMALLINT NO DEFAULT NOT NULL -- restart step
,RESTARTSESSIONKEY TIMESTAMP DEFAULT CURRENT NOT NULL -- restart session
key
,RESTARTAUDITKEY TIMESTAMP DEFAULT CURRENT NOT NULL -- restart audit
key
,RESTARTPROCCREATLCT CHAR(26) NO DEFAULT NOT NULL -- restart process
creation lct
,PRIMARY KEY ARCHIVEID
)
ARCHIVE LOG Table =XMA_ARCHIVELOGTBL
CREATE TABLE =XMA_ARCHIVELOGTBL
( RECORDGMT TIMESTAMP NO DEFAULT NOT NULL -- record insertion timestamp in
GMT
,ARCHIVEID CHAR(5) NO DEFAULT NOT NULL -- archive id
,RECORDLCT TIMESTAMP NO DEFAULT NOT NULL -- record insertion timestamp in
LCT
,SESSIONID CHAR(12) NO DEFAULT NOT NULL -- 12 char session id - will
help distinguish between -- restarts of the same archive
,SEQNO CHAR(9) NO DEFAULT NOT NULL -- sequence no of records within
a session
,LOG VARCHAR(256) NO DEFAULT NOT NULL -- details on what happened
,PRIMARY KEY (RECORDGMT,ARCHIVEID)
)