My requirement here is to set the maxcc of the job. we are currently using z/OS 1.13R in our shop. I heard that this can be done by JOBRC parameter which got introduced in 1.13R .
I tried using the JOBRC Parameter in the below code as follows but i got an error stating verb JOBRC is unkown.
//xxxxxxxx JOB (xxxx,xxxxxx,,,xxxxx),'JOBRC USAGE',CLASS=H,
// NOTIFY=&SYSUID,REGION=16M,MSGCLASS=U
//STEP010 EXEC PGM=IEFBR14
//STEP020 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// IF (STEP010.RC = 0 | STEP020.RC = 0) THEN
//JOBRC=STEP010
// ENDIF
// NOTIFY=&SYSUID,REGION=16M,MSGCLASS=U
//STEP010 EXEC PGM=IEFBR14
//STEP020 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// IF (STEP010.RC = 0 | STEP020.RC = 0) THEN
//JOBRC=STEP010
// ENDIF
Pasted below is the error message which is encountered. I even tried it using in the job card but sill facing the same problem.
VERB "JOBRC" IS UNKNOWN
//xxxxxxxx JOB (xxxx,xxxxxx,,,xxxxx),'JOBRC USAGE',CLASS=H,
// NOTIFY=&SYSUID,REGION=16M,MSGCLASS=U,JOBRC=STEP010
- NOTIFY=XXXXXXXX,REGION=16M,MSGCLASS=U,JOBRC=STEP010
UNKNOWN KEYWORD "JOBRC" SPECIFIED IN OPERAND OF "JOB"
// NOTIFY=&SYSUID,REGION=16M,MSGCLASS=U,JOBRC=STEP010
- NOTIFY=XXXXXXXX,REGION=16M,MSGCLASS=U,JOBRC=STEP010
UNKNOWN KEYWORD "JOBRC" SPECIFIED IN OPERAND OF "JOB"
Can someone kindly let me know on how to use the JOBRC keyword and make the above piece of code work as per my requirement.