COND=(0,NE,IMF1)



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

COND=(0,NE,IMF1)

Postby dn2012 » Tue Feb 28, 2012 9:25 pm

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
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: COND=(0,NE,IMF1)

 

Re: COND=(0,NE,IMF1)

Postby enrico-sorichetti » Tue Feb 28, 2012 9:28 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: COND=(0,NE,IMF1)

Postby Akatsukami » Tue Feb 28, 2012 9:41 pm

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!
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: COND=(0,NE,IMF1)

Postby NicC » Wed Feb 29, 2012 2:14 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: COND=(0,NE,IMF1)

Postby dn2012 » Wed Feb 29, 2012 3:40 am

I meant it is a part of job thanks
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time


Return to JCL