OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

dcdefchk (Check system definitions)

Format

dcdefchk [-r] [-l] [-c] [-w] [-e]

Function

The dcdefchk command checks the values specified in the system definition files (including the domain definition file) in the directories that store definitions ($DCCONFPATH and $DCUAPCONFPATH). For details about the items to be checked and the procedure, see 1.3.1 Creation and checking of the system definition.

The command outputs the results of checking the definitions in the form of messages with one of the following indicating the message type labels. Note that some output messages might not be assigned a category.

Labels indicating the message types:
  • ERROR: This type of message is output on detection of a problem that prevents OpenTP1 from starting or stopping, or impairs some aspects of OpenTP1 operation.
  • WARNG: This type of message is output when a specified value is not the recommended value.
  • CHECK: This type of message is output to prompt the user to check the validity of a specified definition.

Options

-r

Outputs a message (KFCA00254-R) asking you whether you want to continue command processing if an error is found during the syntax check of system definition files.

-l

Checks the definitions in the system definition files.

Before using this option, we recommend that you first execute the command dcdefchk command without the -l option. If the command outputs an error message (of type E) at this time, take the appropriate action to resolve it. If you execute the dcdefchk command with the -l option without first resolving such errors, the same error message might be output multiple times.

-c

Disables outputting a CHECK message when a problem is detected in a definition in the system definition files.

-w

Does not output a WARNG message when a problem is detected in a definition in the system definition files.

-e

Does not output an ERROR message when a problem is detected in a definition in the system definition files.

Output messages

Message ID Description Output destination
KFCA00200-E An unspecifiable option is specified. Standard error output
KFCA00253-I The definition check command starts. Standard output
KFCA00254-R An error was found in a value specified in the definition. Standard output
KFCA00255-E An error occurred during command execution. Standard error output
KFCA00256-I Help message Standard output
KFCA00257-E A directory that has the same name as a definition file was found. Standard error output
KFCA00258-I The applicable definition was treated as the system service definition and the syntax of set-format operands in the system service definition was checked. Standard output
KFCA00283-W An error occurred during the definition check. Standard error output
KFCA00284-W An insignificant error occurred during the definition check. Standard error output
KFCA00285-W A mandatory operand is not specified. Standard error output
KFCA00286-W A mandatory definition file does not exist. Standard error output

Note
In addition to the above messages, the messages KFCA00215-E to KFCA00223-E, KFCA00240-E to KFCA00252-E, and KFCA00259-W to KFCA00282-W might be output, as well as the messages mentioned in the description of definition checks in the manual OpenTP1 System Definition.

Notes