IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Execution of a step preceded by an abended step.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shaham25

New User


Joined: 20 Apr 2006
Posts: 6
Location: chennai

PostPosted: Fri Jun 02, 2006 10:47 am
Reply with quote

Hi all,

There are 4 steps in the JCL and i got a abend in the second step.Whether there is a chance of executing the further steps ?. If yes , how?.Please help.
Back to top
View user's profile Send private message
lara

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Fri Jun 02, 2006 11:14 am
Reply with quote

I think the usage of COND parameter will help our cause.

COND=EVEN or COND=ONLY.

If EVEN is specifies the step will execute if the previous steps have abended or not.
IF ONLY is specified the steop will eecute only if any of the previous steps have abended.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Fri Jun 02, 2006 1:49 pm
Reply with quote

It depends on whether you want the third step to be executed only if the second step abends(that is second step and third steps are alternatives but both can not run) or even if the second abends or not third should execute.

I feel your requirement is to run third even if second fails , so you should go for EVEN as COND parameter
Back to top
View user's profile Send private message
shaham25

New User


Joined: 20 Apr 2006
Posts: 6
Location: chennai

PostPosted: Mon Jun 05, 2006 10:19 am
Reply with quote

Thanks and will try the same
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top