How Can We Help?
< All Topics
Print

$ErrCode

The error code generated by the last command executed.

Syntax

$errcode

Return Value

A number (0 to 9999.) Can be reset by an application program.

Description

Indicator of success (0) or a reason (1 to 9999) for the failure of the most recently executed command.

Explanations for many error codes are contained in the ErrorHelp entity set, which you can access from your database application using the DESCERR or EXPLERR utility program.

See Also

$ErrLevel

$LastErrLevel

$LastErrMessage

$MaxErrLevel

System Variables

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish