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 

Condition Codes

 
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
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Wed Sep 27, 2006 6:10 am    Post subject: Condition Codes Reply with quote

Hi,

I have following code in my jcl
STEP001 EXEC PGM=IEFBR14,COND=(8,LT)
DD01 DD DISP=(MOD,DELETE),SPACE=(TRK,0),
DSN=FST.&ENV..&FEED..&SRCE..JVS.CONNECT

This is first step in jcl. the dataset in question will be deleted by previous job. this step is included in jcl to make confirm to delete it if it was not deleted by previous job. My question is what is the use of COND=(8,LT). As this is the first step in jcl this cond wont be anyuseful. Suppose if the dataset is deleted prior to this job run, will STEP001 wont find the dataset, what hapens in that case whether it will give jcl error or it continues with next step.

Thanks
nadh
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Sep 27, 2006 7:23 am    Post subject: Reply with quote

nadh,

Pay attention to the DISP parameter and look up in the JCL manual for DISP=MOD. Cond Code in this step has no effect.

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


Joined: 20 Aug 2005
Posts: 27
Topics: 6
Location: MN

PostPosted: Fri Nov 10, 2006 4:44 pm    Post subject: Reply with quote

Hi,

I have a job which ends with a return code 8. Can I override this return code as this return code for this job is acceptable and make it end with a Return code Zero.
_________________
Thanks,
Deepthi.

Our lives begin to end the day we become silent about things that matter.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Nov 10, 2006 6:00 pm    Post subject: Reply with quote

Deepthi,

Please search before posting. Check this link

http://mvsforums.com/helpboards/viewtopic.php?p=5256#5256

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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