XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 8. Maintaining the XMA Database
XYPRO Technology Corporation 152 Proprietary and Confidential
8.2.1 Perform FUP Reloads
FUP reloads regain space within the tables left by deleting old records. This procedure
can be run while the Pathway is running. It should be performed at set time intervals
such as once a week or once a month.
Syntax:
reload /out <output location>/ <table name>,deallocate
Example 1: Sample obey file to reload the data tables
reload /out $s.#xma.rld/ $SECURE.xmadat.auddet,deallocate
reload /out $s.#xma.rld/ $SECURE.xmadat.audsess,deallocate
These two (above) commands will reload the AUDDET and AUDSESS tables.
To view the status of the reload process:
Syntax:
STATUS [/OUT <list-file> / ] <filename> [, DETAIL ]
Example 1: Sample obey file to reload the data tables
-status $SECURE.xmadat.auddet,detail
$VHLH.VHHDAT.ARCHIVES
RELOAD INITIATED: 28 Jun 2007, 15:07
RELOAD COMPLETED: 28 Jun 2007, 15:07
DSLACK: 15%
ISLACK: 15%
RATE: 100%
PCT COMPLETED: 100%
DEALLOCATE: YES
SHARE: NO
RECLAIM: NO
8.2.2 Update Statistics
Updating the database statistics optimizes queries run against the database. Use the
UPDSTAT macro provided with XMA. This macro uses the information in the XMA
DEFINES to locate and understandthe database.
Note: You must stop the Pathway to update statistics.
Example: Sample obey file to reload the data tables
Run $secure.xygatema.updstat