Previous Topic: Exitcode (Return Code) ProcessingNext Topic: Reply for i5/OS Jobs


Child Processes and Return Codes

When executing a command on the CA WA Agents, a command can spawn child processes that execute asynchronously from the main command. The return code from the main command is returned to CA WA CA 7 Edition on completion of the command. The child processes can continue execution even though the main command has completed.

If the return code from the child processes is to return to CA WA CA 7 Edition, the main command process must wait for the completion of the child processes. The main command process then passes back that return code as opposed to the return code from the main command. This process sometimes requires changes to the main command that is executed.