View previous topic :: View next topic
|
Author |
Message |
Subhapradha S Currently Banned New User
Joined: 25 Oct 2007 Posts: 2 Location: Bangalore
|
|
|
|
Hi
I would like to know the difference between RC=000 and IC=000, after a Job is executed successfully.
RC is Return Code, Is there anything known about IC. After Executing a JOB that reads from VSAM File and extracts data(according to certain creterion) I got IC =000. The Expected output was obtained, but I would like to know the difference between RC=000 & IC=000. If you could throw light on HC=000, that would be of great help.
Thanks in advance |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Subha,
Quote: |
you could throw light on HC=000, that would be of great help. |
You mentioned Ic (I'm not sure what it is - may be someone might help you). From where did you get 'HC'. |
|
Back to top |
|
|
Subhapradha S Currently Banned New User
Joined: 25 Oct 2007 Posts: 2 Location: Bangalore
|
|
|
|
murmohk1 wrote: |
Subha,
Quote: |
you could throw light on HC=000, that would be of great help. |
You mentioned Ic (I'm not sure what it is - may be someone might help you). From where did you get 'HC'. |
Hi murmohk1
Thanks for your response, From my knowledge HC stands for Highest Return code. I would like to know further details on this too
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I do not really understand where You got this strange naming...
RC ( return code ) is the number between 0 and 4096 that gets passed
back to JCL at the end of the program
Inside IDCAMS IBM introduced two concepts
LAST_CC which represents the return code of the last command executed,
MAX_CC which represents as the name says the maximum return code of
all the commands executed
MAX_CC will be passed back to JCL as the step return code..
Why bother? You will ask..
Success is usually identified by a return code of 0
suppose You have a job with two steps,
the first step is an IDCAMS step to delete define a VSAM dataset that could not exist,
in this case the delete would give a return code different from 0
but nobody would consider it as an error
so everybody after the delete step will force a 0
delete ....
set LAST_CC = 0
set MAX_CC = 0
.........
anyway check the correct syntax on the manual if You ever need to do it |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you explain where you see "IC" or "HC" and post the jes output containing this, someone may be able to reply.
IC is not standard terminology - neither is HC. . .
From what has been posted, we have nothing to work with to be able to help. |
|
Back to top |
|
|
Raymond Gerding
New User
Joined: 16 Mar 2011 Posts: 1 Location: USA
|
|
|
|
In our shop IC=0000 is listed on the $avers page when a job ended with a zero return code but in the process of running logged more than 10,000 displays on SYSOUT....the quote from out Technical Operations Manager..."You are writing message logs to $AVRS and it’s exceeded the limit of 10,000 lines".
------ $AVRS JOB SELECTION
JOBNAME JOB # C CCODE
DDAJT49T 2910 A RC=0000
DDAJT496 2956 A RC=0000
DDAJT49O 3473 A IC=0000 |
|
Back to top |
|
|
|