Previous Topic: WaitContainers--Waits for Jobs to FinishNext Topic: JobCheck--Run the Job Check


ExitCodeMsg - Will Set an Error Message for a Failed Job

This command sets an error message text for the current job container executor job.

Syntax

ExitCodeMsg [Error message]

where

Error Message

An optional parameter that determines the error message for the current job container executor job.

Example:

The ExitCodeMsg command is not suitable for command-line usage. It is recommended for batch and script files. For example, an executable could generate exit or return codes that indicate different error causes. By switch/case logic, an understandable error message could be generated in each such case by messages that replace the otherwise not understandable text "Exit code xx indicates possible error".The message SDM228483 is associated with the usage of the ExitCodeMsg command.

Note: Even if the error message parameter is optional, it is not recommended to use the command without the parameter.