Page 1 of 1

Regarding JCL COND parameter execution

PostPosted: Wed Jul 08, 2009 11:08 am
by psankar
Hi,
I have the Job like below.
//JSTY0010 EXEC Proc1
//*
//JSTY0020 EXEC Proc2,
// BSK='Z',
// RPTCARD='ZMIA581G',
// PARM01='Z01',
// ST='P'
//*
//JSTY0030 EXEC Proc3,
// COND=(2,LE,JSTY0010.PSTY0040),
// BSK='Z',
// RPTCARD='ZMIA581L',
// PARM01='Z01',
// ST='P'
//*
//JSTY0040 EXEC Proc4,
// COND=(2,LE,JSTY0010.PSTY0050),
// BSK='Z',
// RPTCARD='ZMIA581S',
// PARM01='Z01',
// ST='P'
//*
//JSTY0050 EXEC proc 5,
// COND=(2,LE,JSTY0010.PSTY0060),
// BSK='Z',
// RPTCARD='ZMIA581T',
// PARM01='Z01',
// ST='P'
//*

in the job steps 30,40,50 I need to check the return codes from the job step10 return codes.

it is working for job steps 30 and 40 and problem coming for job step 50.

is there any other ways to check above.

Re: Regarding JCL COND parameter execution

PostPosted: Wed Jul 08, 2009 11:32 am
by expat
it is working for job steps 30 and 40 and problem coming for job step 50.

A little help on asking for help .................

All that we know is that there is a problem, we do not know what the problem is because you have not told us.
We do not know what you have read to look for help because you have not told us.
We do not know what you have tried yourself because you have not told us.

Without the obvious information we can do nothing to help you, or if we do, only guessing wildly which of course may cause you more problems than you originally have.

Re: Regarding JCL COND parameter execution

PostPosted: Wed Jul 08, 2009 11:50 am
by psankar
Sorry..I forgot to write my problem..

In Cont. with above

In jobstep50 ,there are 4 steps are there and there is checking of Cond codes with in jobstep50.

//JSTY0050 EXEC proc 5,
// COND=(2,LE,JSTY0010.PSTY0060),

If I give the COND parameter in jobstep50 like above,Is it override the Internal COND within jobstep50.
In my job,after execution of this step its giving return code=24(this reurn code is given by the step in jobstep050 which is not supposed to run with in jobstep50).
I am unable to determine the cause to abend.

Re: Regarding JCL COND parameter execution

PostPosted: Wed Jul 08, 2009 1:36 pm
by expat
Take a look HERE to see how condition code checking works.

Re: Regarding JCL COND parameter execution

PostPosted: Tue Jul 14, 2009 1:35 pm
by psankar
Thanks!!!!..Expat