MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COND code step bypass

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Mon Nov 20, 2006 3:39 pm    Post subject: COND code step bypass Reply with quote

//Step01
//Step02,COND=(0,NE)
//Step03,COND=(0,NE)
//Step04,COND=((0,EQ,STEP03),EVEN)

In the above scenario...
If STEP01 RC > 0 ... I need to bypass the remaing steps..

My Issue is....
If STEP01 RC > 0 all the steps are bypassed except STEP04, since STEP04 is validating the RC of STEP03...

I need a COND code for STEP04.. so that.. It will be bypassed
When..

1) STEP03 RC =0 and
2) STEP01 RC > 0

Thanks in advance
Raja Mohamed
Back to top
View user's profile Send private message
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Sat Nov 25, 2006 2:08 am    Post subject: Reply with quote

Raja,

FYI,

When a step is bypassed,it will not return any retrun code.So i dont think it is a proper way to check for equal to zero at step4.Use an OR condition at STEP4 to solve the problem.

//STEP4 ,COND=(0,EQ,STEP3 OR 0,NE,STEP1)



Cheers,
VJ
Back to top
View user's profile Send private message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Wed Nov 29, 2006 3:20 pm    Post subject: Reply with quote

Thanks VJ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group