Hi,
Yes! Glad you asked.
The error message numbers are organized by what part of the software raises
them.
Messages 1000 - 1999 are raised by the DDL code (core/sql/sqlcomp/* modules) --
use the enum in sqlcomp/CmpDDLCatErrorCodes.h
Messages 2000 - 2999 are raised by the mainline code of the
The enums are just a way to access the error codes symbolically. Usually, the
error codes in Trafodion have ranges assigned to different components of the
Trafodion engine. The errors originating in catalog manager component are
expected to be CmpDDLCatErrorCodes.h and the errors originating