View previous topic :: View next topic |
Author |
Message |
adarsh444 Beginner
Joined: 19 Sep 2006 Posts: 13 Topics: 9
|
Posted: Thu Nov 27, 2008 1:12 am Post subject: Job to bypass MAXXCC 4 |
|
|
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 |
|
 |
adarsh444 Beginner
Joined: 19 Sep 2006 Posts: 13 Topics: 9
|
Posted: Thu Nov 27, 2008 1:30 am Post subject: |
|
|
it displays JOB TERMINATED BY CCCHK STOP REQUEST.
I want to bypass this error. |
|
Back to top |
|
 |
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Mon Dec 01, 2008 4:00 am Post subject: |
|
|
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 |
|
 |
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Mon Dec 01, 2008 8:48 am Post subject: |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Dec 01, 2008 8:51 am Post subject: |
|
|
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 |
|
 |
jsharon1248 Intermediate
Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
|
Posted: Mon Dec 01, 2008 9:28 am Post subject: |
|
|
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 |
|
 |
|
|