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 

Job to bypass MAXXCC 4

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


Joined: 19 Sep 2006
Posts: 13
Topics: 9

PostPosted: Thu Nov 27, 2008 1:12 am    Post subject: Job to bypass MAXXCC 4 Reply with quote

i have a Job that failed with MAXXCC = 4 in STEP5 with unique constraint violation.
i want to bypass MAXXCC = 4 and would like to show the successful completion of Job even though it has unique constraint violation.
Please suggest.
Back to top
View user's profile Send private message
adarsh444
Beginner


Joined: 19 Sep 2006
Posts: 13
Topics: 9

PostPosted: Thu Nov 27, 2008 1:30 am    Post subject: Reply with quote

it displays JOB TERMINATED BY CCCHK STOP REQUEST.

I want to bypass this error.
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Mon Dec 01, 2008 4:00 am    Post subject: Reply with quote

You can add an IDCAMS step, where you use in SYSIN the statement
SET MAXCC = 0

The complete JCL for this could be
//SETCC EXEC PGM=IDCAMS
//SYSPRINT DD DUMMY
//SYSIN DD *
SET MAXCC = 0
//*

regards
Christian
Back to top
View user's profile Send private message
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Mon Dec 01, 2008 8:48 am    Post subject: Reply with quote

The set maxcc is for the IDCAMS step only not for the job! Suggest either reading the manual or testing your solution before posting it.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Dec 01, 2008 8:51 am    Post subject: Reply with quote

I have read and re-read this topic and I have no idea what it's about. My best guess is that there's a Scheduler-related issue that needs to be addressed for a non-zero return-code from one step of a job, or that there's some sort of database-related issue that needs to be fixed.

Christian, I have no idea what purpose your code would serve other than to create a job step, in your case step SETCC, which would end with a RC=0, which is the exact same thing that can be done by just executing the IEFBR14 program.
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Mon Dec 01, 2008 9:28 am    Post subject: Reply with quote

Post the JCL. I suspect there's a step with an IF or COND that executes a home grown pgm that issues a user abend.
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