D&Do v. 1.0   Prev   Next   Top


Exit Code to Message Mapping

By default, when a program has terminated, it returns an exit code. It is an integer value and a value of 0 means that the program exited normally. Any other value is the result of a less optimal termination, usually an error. That value is displayed on the status line. However, it is more helpful to the D&Do user to receive a textual description of the exit code. It is possible to map an exit code value to a message (except for the value of 0).

Many ECODE parameters may be defined in a metascript.

Example:
ECODE:10 Invalid value
ECODE:12 Missing value

 


Prev   Next   Top

Copyright(c) 2003-2004 Marcel St-Amant