ij Properties Reference
Page 9 of 13

ij.showErrorCode

Function

Set this property to true to have ij display the SQLException ErrorCode value with error messages. The default is false.

Error codes denote the severity of the error. For more information, see the Cloudscape Reference Manual.

Syntax

ij.showErrorCode=trueOrFalse

Example

java -Dij.showErrorCode=true -Dij.protocol=jdbc:cloudscape:
    COM.cloudscape.tools.ij
ij version 3.6 (c) 1997-2000 Informix Software, Inc.
ij> Connect 'toursDB';
ij> VLUES 1;
ERROR 42X01: Syntax error: Encountered "VLUES" at line 1, column 1.
. (errorCode = 20000)
ij>