ubcheck

NAME

ubcheck – exhaustively check UNIBASE tables for structure errors

SYNOPSIS

ubcheck <directory> {<application>} {<table>}

DESCRIPTION

ubcheck will exhaustively check every UNIBASE table in a directory for errors.

Any errors are logged in a file called filecheck in the data directory. An existing filecheck is removed before the testing begins.

As ubcheck is exhaustive it can take a long time and is best run as an overnight process.

NB. The UNIBASE isam routines are very robust and tables are not normally corrupted except by machine failures which are usually detected by a redundancy check everytime a table is opened. This utility simply provides an extra level of assurance.

<P> <TABLE WIDTH=”100%” BGCOLOR=”#000000″> <CAPTION>COMMAND LINE OPTIONS</CAPTION> <TR><TD> <TABLE WIDTH=”100%” BGCOLOR=”#FFFFFF”> <TR> <TH>OPTION</TH> <TH>DESCRIPTION</TH> </TR> <TR> <TD>&lt;directory&gt;</TD> <TD>directory to be tested</TD> </TR> <TR> <TD>&lt;application&gt;</TD> <TD>Optional data dictionary (default dict.dat) to use for test</TD> </TR> <TR> <TD>&lt;table&gt;</TD> <TD>Optional table if only one table, rather than all tables, is to be tested.</TD> </TR> </TABLE> </TD></TR> </TABLE> <P> <h2>EXAMPLE</h2> <PRE>ubcheck /data/stock /usr/app/stock_sys/dct/dict.dat stock</PRE>

FLAGS

FLAG ARGUMENT TYPE DESCRIPTION

ERRORS

EXAMPLE

SEE ALSO