You can associate exit codes with existing actions to define which actions occur based on the status of a job's execution. Once a job execution completes, an exit code is generated. The exit code indicates whether or not the process succeeded. Based on the exit code and the action you associate with the code, OpenEdge Management can ensure that the specified action occurs.
Typically, an exit code of zero indicates success, while a nonzero code indicates an error. For more information on nonzero exit codes, search the log file. If a job running in Windows returns a positive, nonzero code, use the net helpmsg command for information.
For example, consider a job that returns an exit code of 1326. Entering net helpmsg 1326 at the command line returns the following message:
You can also use exit codes to chain jobs together using flow control. See
Job chaining for more information.