It's all about the answers!

Ask a question

How to catch CL return code on IBM i JBE


Michele Pegoraro (1.8k12114103) | asked Nov 24 '11, 11:19 a.m.
retagged Jun 23 '12, 5:45 p.m. by Arne Bister (2.6k12832)
Hi,
we are hanging with a problem with builds on iSeries. This is the scenario:

we have a iCommand build definition which launch a CL. The CL run many compile commands and then terminate. If a single compile fail the jbe is not able catch this exit and returns a complete build instead of a failed one.

We have tried to set RTNCDE to 2 or 3 but it does not work. Does someone knows how to communicate to jbe an error?

Thanks,
Michele.

Be the first one to answer this question!


Register or to post your answer.