[resolved] tsystem Component Error Handling

[resolved] tsystem Component Error Handling

Hi, I have different jobs and are run in a sequential pattern (i.e Job1 --> OnSubjobOk --> Job2)
I am using tsystem component in Job1. So if there an error in my command it still returns exit code zero and moves to Job2

I am using this command: "cmd/c BTEQ<ABC.BTQ>LOG\\ABC.LOG"
The error is registered in log file (ABC.LOG) but the RUN VIEW show exit code zero and moves to Job2. Any suggestions how to stop Job1 once error in command.

Thanks

Accepted Solutions
One Star

Re: [resolved] tsystem Component Error Handling

Hi
Why don't you use Run-if trigger here? And set Run-if as follow.
((Integer)globalMap.get("tSystem_1_EXIT_VALUE"))==0

Regards,
Pedro

All Replies
One Star

Re: [resolved] tsystem Component Error Handling

Hi
Why don't you use Run-if trigger here? And set Run-if as follow.
((Integer)globalMap.get("tSystem_1_EXIT_VALUE"))==0

Regards,
Pedro

Re: [resolved] tsystem Component Error Handling

Thanks Pedro...that worked Smiley Happy