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 

Setting Max Job Return Code

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


Joined: 05 Dec 2006
Posts: 2
Topics: 1
Location: New York

PostPosted: Thu Dec 07, 2006 6:58 pm    Post subject: Setting Max Job Return Code Reply with quote

Is there a way to override the max return code of a job. For instance if I receive a RC of 4 I'd like to reset the MAX return code for the job back to ZERO. I know how to do it for a step but the JOB still retains the Max return code of 4 for the job.

Any help is appreicated.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Dec 07, 2006 7:01 pm    Post subject: Reply with quote

PhilB,

Please Search before posting. check this link

http://mvsforums.com/helpboards/viewtopic.php?t=1133&highlight=set+return+code

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


Joined: 05 Dec 2006
Posts: 2
Topics: 1
Location: New York

PostPosted: Thu Dec 07, 2006 8:49 pm    Post subject: Setting Job Max Return Code Reply with quote

Hi Kolusu

Thanks for your post. I did search the database, and my search as well as the one you were kind enough to supply me does not really solve my problem. The one suggestion says you need to hit some internal registers but does not show a specific example I can use.

I tried all other examples and none accomplish the reset. I should say there is no simple SET MAXCC = 0; Like in IDCAM that could reset the entire job's Max Return code. It only works at the step level. Unfortunately I think there is no simple way to do this without some programming effort. I did post here after hours of testing different methods and was hoping there was a simple method that I could not find.

Thank you, your reply is greatly appreciated.

PhilB
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Dec 08, 2006 8:51 pm    Post subject: Reply with quote

PhilB,
I hope, you have a strong reason to do so. You know, a job return code is, shall I say, a 'sacrosanct' value. Fiddling with it might cause problems with auditing later.

Just a thought...
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
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