Page 1 of 1

COND=(0,NE,IMF1)

PostPosted: Tue Feb 28, 2012 9:25 pm
by dn2012
I have four steps in my JCL.
I want to stop job at an abend step.
LISTCAT is my second job and IMF1 is my first job.

will it ok to put this on my second job:
//LISTCAT EXEC PGM=IDCAMS,COND=(0,NE,IMF1)

Or any better way to stop job at an abend step.

thanks

Re: COND=(0,NE,IMF1)

PostPosted: Tue Feb 28, 2012 9:28 pm
by enrico-sorichetti
do not post the same question multiple times
jcl/topic7250.html#p32734

it will not get You more answers, it will just piss of people willing to help

Re: COND=(0,NE,IMF1)

PostPosted: Tue Feb 28, 2012 9:41 pm
by Akatsukami
dn2012 wrote:I have four steps in my JCL.
I want to stop job at an abend step.
LISTCAT is my second job and IMF1 is my first job.

will it ok to put this on my second job:
//LISTCAT EXEC PGM=IDCAMS,COND=(0,NE,IMF1)

Or any better way to stop job at an abend step.

thanks

I have told you sotfware engineers before: that your incompetent morons of teachers thought (using the term very loosely) than a non-zero return code is an abend does not make it so!

Re: COND=(0,NE,IMF1)

PostPosted: Wed Feb 29, 2012 2:14 am
by NicC
A step is NOT a job. A job is defined by the first line of JCL having JOB after //jobname. Do you have 1 or 2 of those? Suggest you start reading the stated manuals - and quickly. If I read a manual it is for myself - not for others.

Re: COND=(0,NE,IMF1)

PostPosted: Wed Feb 29, 2012 3:40 am
by dn2012
I meant it is a part of job thanks