Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to code MAXCC in a JCL
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2959
Location: Brussels once more ...

PostPosted: Thu Jul 24, 2008 2:45 pm    Post subject:
Reply with quote

Gerry, good spot.

I'd forgotten that the RC checking will be satisfied if only one previous RC was LE 3000.

Just had a look at the example linked by Dicks post, which seems a good way to go. I guess that using IF/THEN/ELSE that you can combine abend checking with RC checking too.
Back to top
View user's profile Send private message
References
PostPosted: Thu Jul 24, 2008 2:45 pm    Post subject: Re: Reply with quote

kaushikmitra

New User


Joined: 11 Apr 2008
Posts: 23
Location: MONTEREY

PostPosted: Thu Jul 24, 2008 10:54 pm    Post subject:
Reply with quote

Thanks all for the help so far ...

I have run the job with COND=(ONLY,(3000,GT)) as suggested by expat.
Only one problem I am facing if any prior step gets a JCL error , my abend step - //STEP03 EXEC PGM=IEBGENER,COND=(ONLY,(3000,GT))
does not run.

What is the return code (RC) of the job in case of JCL error.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

PostPosted: Thu Jul 24, 2008 11:18 pm    Post subject:
Reply with quote

Hello,

You cannot test for prior jcl error(s).

You need to set up your jcl so that (after testing is complete) there will be no jcl errors.

There should never be a jcl error in a production job.
Back to top
View user's profile Send private message
kaushikmitra

New User


Joined: 11 Apr 2008
Posts: 23
Location: MONTEREY

PostPosted: Fri Jul 25, 2008 5:14 am    Post subject:
Reply with quote

Thanks All of you for your help !!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2