Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Difference between RC=000 & IC=000 after a Job is execut
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 26, 2007 11:02 am    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Oct 26, 2007 12:30 pm    Post subject: Reply to: Difference between RC=000 & IC=000 after a Job
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

Site Director


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

PostPosted: Fri Oct 26, 2007 8:34 pm    Post subject:
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    Post subject: Reply to: Difference between RC=000 & IC=000 after a Job
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us