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

error check


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Wed Feb 22, 2006 11:14 am
Reply with quote

Hi friends,

I have to know about the difference between
maxxcc error's (maxxcc=12)

job is abend

jcl error


for what resions it will occours?
any one explain it properly?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Feb 22, 2006 11:26 am
Reply with quote

There are 2 ways to end a job: return code (RC) or ABEND.

The type of termination depends on what the programmer decides. For example: If i write some Assembler program (to be run from job using EXEC PGM), I can decide that in some situations I want to end the flow with return code=nn, or to end it with ABEND.

Same with all other utilities - utilities are actually programs, written by IBM or other vendors in some programming language.

For each utility, there should be a nice documentation regarding when you get a return code, and when it might issue an ABEND.

O.
Back to top
View user's profile Send private message
unni_nss

New User


Joined: 20 Sep 2005
Posts: 19

PostPosted: Wed Feb 22, 2006 1:06 pm
Reply with quote

hi,
actually,after the completion of each jcl steps, system will return a condition code,whether it has been successful or not.this varies from 0 to 4035.but,normally we the program or job will terminate if any of the step return 12.this means further we cant execute the pgm.so, in normal case we r getting the errors like 0,4,8,12,16 and 24.
but ABEND is abnormal termination and may be due to user abend or system abend,like S322 in TIMEOUT and U808 load module is not found(i have a little bit doubt on tis ,pls check).see,in both cases if if we talk about the first one there may not be any program interruption,but the available system time is not enough to run the job.so, that belongs to system abend.but in latter,the load module has not found to for the specified program,so that is due to user discrepancy.eventhough there maynot be any problem in syntax,things can happen like this also.so,if the EXEC statement will come in operand field instead of operation field,system will stuck there and show the error or what the condition code that has been produced by that step.
so,pls let me know th at am i correct or not.
thanks,
unni. icon_smile.gif icon_smile.gif icon_sad.gif
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top