How to get the status of a Job run (success or failure) etc.

One Star

How to get the status of a Job run (success or failure) etc.

In TOS or runing the Job out side of TOS, How to get the status of a Job run (success or failure) etc?
Also, How can we sequence the Jobs.. ie, I need to execute Job B after a sucesss of Job A etc.,
Thanks
One Star

Re: How to get the status of a Job run (success or failure) etc.

for your second question you can create a third job that call the job A and after the job B with a trigger link OnsubjobOK
One Star

Re: How to get the status of a Job run (success or failure) etc.

thats that is wonderful
One Star

Re: How to get the status of a Job run (success or failure) etc.

Plese anybody provide me how to get the job status if the job is successful or failed......java and perl project
One Star

Re: How to get the status of a Job run (success or failure) etc.

Please help provide a way to get a job run status running outside of TOS 2.3.1
Employee

Re: How to get the status of a Job run (success or failure) etc.

If the job success, the return code is 0. If the job fails, the return code will be anything but 0.
 /tmp/export1/topic2470_failure
$ bash topic2470_failure_run.sh
The worksheet "first sheet" does not exist in this Excel book, existing worksheets are {}
/tmp/export1/topic2470_failure
$ echo $?
2
/tmp/export2/topic2470_success
$ bash topic2470_success_run.sh
1
2
3
/tmp/export2/topic2470_success
$ echo $?
0