Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

2 Replies
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Thanks Pedro...that worked 0683p000009MACn.png