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 

Overriding "IF..Condition code" in a proc through

 
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
saijai
Beginner


Joined: 06 Sep 2006
Posts: 14
Topics: 6

PostPosted: Wed Sep 13, 2006 7:08 am    Post subject: Overriding "IF..Condition code" in a proc through Reply with quote

Hi

Is it possible to overide the following if condition in a proc through JCL.

Code:

//CHK IF ((S090.RC = 0 OR S090.RC = 3333) ) THEN                       
//S110     EXEC PGM=IEBGENER
//SYSUT1  DD DSN=&P..USAGE.DAILY.GDG+1),DISP=SHR                     
//SYSUT2   DD DSN=&P..USAGE.DAILY.RECORDS,DISP=MOD



I need this step to be executed irrespective of condition codes.I hope that
Cond.S110='condition code' will not override the if condition if the step is restarted from S110.
Please advise...
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Sep 13, 2006 7:51 am    Post subject: Reply with quote

saijai,

Can't you just delete the IF Construct in the PROC?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
saijai
Beginner


Joined: 06 Sep 2006
Posts: 14
Topics: 6

PostPosted: Wed Sep 13, 2006 8:06 am    Post subject: Reply with quote

That can be done..But thats a production proc whcih needs a new release..
Jus to know is there any other possible ways....
_________________
Thanks,
Jai
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