$ErrCode

$ErrCode

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< 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

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

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

en_CAEnglish