DEFRECORD KCML_EXCEPTION_LOG

'KCML_Exception_Log record
FLD namePack formatPurpose
KCML_EXCEPTION_LOG_ErrorMajorUINT(2)Major error number
KCML_EXCEPTION_LOG_ErrorMinorUINT(1)Minor error number
KCML_EXCEPTION_LOG_LineNumberUINT(4)Line number
KCML_EXCEPTION_LOG_StatementNumberUINT(4)Statement number
KCML_EXCEPTION_LOG_SourceFilename$CHAR(128)Source file name
KCML_EXCEPTION_LOG_ErrorContext$CHAR(256)Error context including the error code and description
KCML_EXCEPTION_LOG_PoolPool used to allocate stack return. Set by 'KCML_Exception_Log()
KCML_EXCEPTION_LOG_StackPool handle of return stack if requested

More info