Previous Topic: Model ReportsNext Topic: Command Line Debug Report


Consistency Check Command Line Utility

The syntax for the consisck command is:

consisck -u <userid> -m <model name> [-w <severity level>
-r <rule level> -d <database> -n <threshold>
-t <report type> -f <file name> -i <code page> -o <object ID>
-p <dispatcher> -v <environment> -g <encyclopedia group>]
-u <userid>

Defines an authorized user id.

Limits: eight characters.

-m <model name>

Defines the model name. Enclose model name in quotes when it is more than one word, as in "model name".

Limits: 32 characters.

-w <severity level>

Defines the level of warning messages to include. When you omit this option, the utility includes Warning messages. The permitted values are Warning, Severe, Error, and Fatal.

-r <rule level>

The levels indicate progressive phases in model development.

Default: All

Other permitted levels are:

ISP

Planning

BAA

Business Area Analysis

BSD

Business System Development

TD

Technical Design

CG

Code Generation

-d <database>

Defines the database.

Default: All

Other permitted values are All, None, "DB2 z/OS", "DB2 UDB", JDBC, MS/SQL, ODBC/ADO.NET, ORACLE, and SQL/MP.

-t <report type>

Defines the report, Summary, Normal, Detail, or Xdebug

Default: Normal

-n <report limit>

Defines the maximum number of exceptions that are allowed in the report. The model consistency check terminates without completing when it reaches the report limit.

Default: 100

Limits: 1 to 9999

-o <objid>

Defines the encyclopedia object id. You can include this option and value more than once to run consistency check on multiple object IDs.

Default: the entire model.

-f <file name>

Defines the report file's destination file name.

Default: conschk.rpt in the current directory.

-i <code page>

Defines the report code page.

Default: the model code page

-p <dispatcher>

Defines a message dispatcher name.

Default: the value of the IEF_MDNAME environment variable or 'IEFMD'.

Limits: 1059 character name.

Note: For more information about Message Dispatcher Name, see Hostnames and IP Addresses and CSE Message Dispatcher and Remote Daemon Server Names.

-v <environment>

Defines aenvironment name.

Default: the value of the IEF_ENVNAME environment variable or 'CSE_ENV'.

Limits: 32-character

-g <encyclopedia group>

Defines an encyclopedia group name.

Default: the value of environment variable IEF_ENCYGROUP.

Limits: eight characters

All command-line parameters, except the file name, can be uppercase, lowercase, or mixed case. File names must be in a form that is defined by the operating system on which the program is running.