Page 1 of 1

COND in JOB statement

PostPosted: Tue Nov 25, 2014 12:01 pm
by heshmahesh
Hi,

The JOB statement COND parameter performs the same return code tests for every step in a job.
If a JOB statement return code test is satisfied, the job terminates.

Which means i have 5 steps in a JCL program,
for every Step return code is checked with my condition code , right .?

Also,
For any 2 Steps my COND code is "true" , which means that two steps are bypassed.
for remaining 3 steps COND Code is "false" which means the remaining 3 steps are executed..

My question is,
Will my job terminated without executing any steps
with a return code
or
the condition "false" steps will be excuted.??

I want to know what will be results once my job is executed.?

Re: COND in JOB statement

PostPosted: Tue Nov 25, 2014 12:12 pm
by Aki88
Why not, write a small JCL and do a test run in your UAT/testing environment? ;)

Re: COND in JOB statement

PostPosted: Tue Nov 25, 2014 12:25 pm
by heshmahesh
Right now , i,m not in a situation to work in mainframe environment.... :( :(