Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to set ABENDCC to zero? (updated)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to set ABENDCC to zero? (updated)
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 17, 2008 3:52 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 17, 2008 4:11 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts When the table was last updated Akatsukami DB2 8 Mon Jul 20, 2015 11:13 am
No new posts Count the number of rows updated or d... Chetan Kumar DB2 6 Tue Jul 14, 2015 7:57 pm
No new posts Vsam file updated to RLS disabled aut... biswaranjan Parimanik JCL & VSAM 10 Fri May 01, 2015 12:43 pm
No new posts How to get Timestamp ,which the db2 g... cmsmoon DB2 10 Tue Feb 05, 2013 9:00 pm
No new posts DB2 -how to find the last updated use... Harry_harran DB2 5 Wed Oct 24, 2012 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us