COND in JOB statement



COND in JOB statement

Postby heshmahesh » Tue Nov 25, 2014 12:01 pm

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.?
heshmahesh
 
Posts: 7
Joined: Mon Nov 10, 2014 5:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: COND in JOB statement

Postby Aki88 » Tue Nov 25, 2014 12:12 pm

Why not, write a small JCL and do a test run in your UAT/testing environment? ;)
Aki88
 
Posts: 381
Joined: Tue Jan 28, 2014 1:52 pm
Has thanked: 33 times
Been thanked: 36 times

Re: COND in JOB statement

Postby heshmahesh » Tue Nov 25, 2014 12:25 pm

Right now , i,m not in a situation to work in mainframe environment.... :( :(
heshmahesh
 
Posts: 7
Joined: Mon Nov 10, 2014 5:49 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Stupid Questions