Page 1 of 1

CA7 : SCC Job failing with RC of 0 in CA7

PostPosted: Fri Jul 26, 2013 6:04 am
by vinod.tavva
Hi All,

My Job is failing with an RC of 00 the job. RO in the job panel is #S.

I have 3 steps

STEP02 is getting an RC of 08 and this is getting acceptable in CA7.
#SCC,COND=(1-7,EQ,CHKTL2)
#SCC,COND=(9-4095,EQ,CHKTL2)

STEP03 is getting an RC of 08 and this is getting acceptable in CA7.
#SCC,COND=(1-7,EQ,CHKTL2)
#SCC,COND=(9-4095,EQ,CHKTL2)

STEP01 is getting an RC of 0, but the job is failing in this step with an RC of 0 In Ca7.
#SCC,COND=(1-7,EQ,CHKTL1)
#SCC,COND=(9-4095,EQ,CHKTL1)


Can you someone help me how to get rid of RC of 0 in ca7.

Re: CA7 : SCC Job failing with RC of 0 in CA7

PostPosted: Fri Jul 26, 2013 7:21 am
by Robert Sample
CA-7 is doing EXACTLY what the step condition code (#SCC) statements indicate should happen. Zero is not considered a valid condition code for STEP1 of that job. You may change this situation by not allowing STEP1 to end with a zero return code (which may require code changes in whatever language that program is written in), or changing the #SCC statements to indicate that return code of 0 is valid for STEP1 -- your choice.

And the job is NOT failing in CA-7: the job requires a restart because it did not have an acceptable return code -- this is not "failing" but merely a restart requirement.