A. Return Values from Event Jobs and Action Jobs
The following table lists the return values from event jobs and action jobs.
- Note
-
When an operation (such as killing a jobnet) is performed for all start conditions, or an error occurs for all start conditions, the return value of each event for all start conditions is set to 0. In this case, if an error occurs for a specific event (such as for a definition mistake), the return value is set as shown in the table.
- Note
-
If a return value other than 0 is returned, determine the cause of the problem from the job execution result messages.
Return value |
Description |
---|---|
0 |
The job ended normally. |
Other than 0 |
Local power supply control has failed. |
Return value |
Description |
---|---|
0 |
The job ended normally. |
Other than 0 |
Remote power supply control has failed. |
Return value |
Description |
---|---|
128 |
The resource is insufficient.#2 |
-1 |
Startup failure, forced end, ended abnormally#3 |
- #1
-
These return values might be set to values other than the return values of job processes of action jobs. Actions jobs include the following:
-
JP1 event sending job
-
Email sending job
-
Message-queue message sending job
-
MSMQ message sending job
-
OpenView Status Report job
-
Local power control job
-
Remote power control job
-
- #2
-
This return value is used only in Windows systems. For details, see 7.3 Notes on using PC jobs. Because the OS sets this return value, the return value may change depending on the OS version.
- #3
-
For details, see 7.8.3 Checking the return code of a job.