IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to set ABENDCC to zero? (updated)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashu140

New User


Joined: 12 Feb 2007
Posts: 3
Location: bangalore

PostPosted: Fri Oct 17, 2008 3:47 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Oct 17, 2008 3:52 pm
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
ashu140

New User


Joined: 12 Feb 2007
Posts: 3
Location: bangalore

PostPosted: Fri Oct 17, 2008 3:56 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Oct 17, 2008 4:11 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Oct 17, 2008 7:15 pm
Reply with quote

Your scheduling software may have an option to allow U1313 as acceptable for certain jobs/programs.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Fri Oct 17, 2008 7:40 pm
Reply with quote

Another possibility is to run a program to edit and fix the data before the program that would get the U1313.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Accessing ABENDCC in JCL JCL & VSAM 6
No new posts Cursor result set being updated??? DB2 5
No new posts Compare two PS files using ICE TOOL f... DFSORT/ICETOOL 5
No new posts When the table was last updated DB2 8
No new posts Count the number of rows updated or d... DB2 6
Search our Forums:

Back to Top