View previous topic :: View next topic |
Author |
Message |
PhilB Beginner
Joined: 05 Dec 2006 Posts: 2 Topics: 1 Location: New York
|
Posted: Thu Dec 07, 2006 6:58 pm Post subject: Setting Max Job Return Code |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
PhilB Beginner
Joined: 05 Dec 2006 Posts: 2 Topics: 1 Location: New York
|
Posted: Thu Dec 07, 2006 8:49 pm Post subject: Setting Job Max Return Code |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Dec 08, 2006 8:51 pm Post subject: |
|
|
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 |
|
 |
|
|