Home | Previous Page | Next Page   Utility Reference > onutil: Check, Define, and Modify Storage Objects >

CHECK CATALOGS

This command checks the internal integrity of the system catalog tables for a database.

Syntax

Read syntax diagramSkip visual syntax diagram>>-CHECK CATALOGS--+---------------+--+-------------------+----><
                   '-database_name-'  +-DISPLAY-----------+
                                      '-SAVE IN--filename-'

Element Purpose Restrictions Syntax
database_name The name of the database where the system catalog tables reside The database must exist.
You cannot check databases on remote database servers.
See Database Name in the IBM Informix: Guide to SQL Syntax.
DISPLAY Optional keyword which displays formatted output of the system catalog being checked None
SAVE IN Optional keyword which saves the formatted output of the system catalogs being checked to an external file None
filename The relative or absolute path and name of the file where the formatted output is stored None Use the operating-system rules for the filename.

Usage

Use the onutil CHECK CATALOGS command to check the internal integrity of that system catalog tables of a database.

For example, you can check the system catalog tables of a database with this onutil command:

% onutil
1> CHECK CATALOGS sysmaster;
2> CHECK CATALOGS;
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]