It'd be better if you can explain what you want to do in a li'l more detail please.
swatmf14 wrote:As i want it for standardization purpose.
And in addition that steps are inside proc and i am accessing that steps through my job.
This is interesting, how would an RC impact the execution of a PROC in a JCL? RC is returned after
the step has executed.
Incase you have multiple PROCs in a JCL and you want the subsequent PROCs to be executed even if a step in the previous PROC has given an unwanted RC, then it can be done by using return code handling using IF-THEN-ELSE constructs (I'm not a very big fan of COND parameter).
swatmf14 wrote:Is there any way to get this done by using JOBRC ?
There are various limiting factors here, starting with - which z/OS version you're on; if you have 1.13 or higher, then have a look at the link shared earlier, Mr.Spock and Enrico have posted links for the manuals, that should get you started; write a small JCL to test the same.
Then if you're stuck somewhere, please share what you've tried and we can guide you.