View previous topic :: View next topic
|
Author |
Message |
ashu140
New User
Joined: 12 Feb 2007 Posts: 3 Location: bangalore
|
|
|
|
Hi i posted a query with a same name but it was locked and i cudn't reply.
Now i would like to explian my query in little more detail.
THere already exists a program in LIVE.
Due to some data issues our job fails. With Abend code U1313. I know how to correct the data issue. So, whenever the step fails a new step would run and the job would end ok.
But now as the job has run fine and processed all the data there is no abend actually in the job. But due to the aleready present value in ABENDCC = U1313 the job is reported as U1313.
Solutions I alraeady thought of :
1. Can Mark complete the job but i am looking for a solution where the job is not reported as a failure.
2. Can copy the existing program and make changes according the data. But then this program would be required to be maintained along wih the original one.
Am just taking looking for an option to mark the particular step ok(i.e ABENDCC = 0) if it abends by U1313.
Constrains i have ---> I can't edit the program as it is used by many different application. So i am trying to resolve this issue Only through JCL.
Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can chain the second, corrective, step onto the first and only execute it via IF/THEN/ELSE statements.
However you will need to talk to the people responsible for the job scheduling to see if U0313 can be accepted as not failed for your job.
Hopefully, having had to repost your question with much more information may help you to put the information in the first request |
|
Back to top |
|
|
ashu140
New User
Joined: 12 Feb 2007 Posts: 3 Location: bangalore
|
|
|
|
expat wrote: |
You can chain the second, corrective, step onto the first and only execute it via IF/THEN/ELSE statements.
|
Thanks for the response.
But Executing it Via IF/ ELSE would not make any changes to the value U1313. THe job would still abend. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, and then the corrective step would run, thus completing the cycle.
So if you can get your scheduling people to accept this as a valid return from the submitted job you're laughing. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Your scheduling software may have an option to allow U1313 as acceptable for certain jobs/programs. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Another possibility is to run a program to edit and fix the data before the program that would get the U1313. |
|
Back to top |
|
|
|