IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between RC=000 & IC=000 after a Job is execut


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Subhapradha S
Currently Banned

New User


Joined: 25 Oct 2007
Posts: 2
Location: Bangalore

PostPosted: Fri Oct 26, 2007 10:11 am
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 26, 2007 11:02 am
Reply with quote

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
View user's profile Send private message
Subhapradha S
Currently Banned

New User


Joined: 25 Oct 2007
Posts: 2
Location: Bangalore

PostPosted: Fri Oct 26, 2007 11:07 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Oct 26, 2007 12:30 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 26, 2007 8:34 pm
Reply with quote

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
View user's profile Send private message
Raymond Gerding

New User


Joined: 16 Mar 2011
Posts: 1
Location: USA

PostPosted: Wed Mar 16, 2011 9:57 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top