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

Condition codes / MAX CC


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nartcr

New User


Joined: 06 Jun 2007
Posts: 83
Location: anada

PostPosted: Thu Dec 03, 2009 8:32 pm
Reply with quote

Hello -

Confused with the return code and MAXCC that too with Natural program involved.

Case 1

Sel Jobname Read Date Time Xcode
==> * * * *
PMDIABCD 12/03/2009 04:56 0004

In JESMSGLG, this is what i am seeing
@@ PMDIDABC:STEP#= 7 ,STEP=NATURAL ,PGM=NAT23XX ,RC= 40
@@ PMDIDABC:STEP#= 8 ,STEP=MSGSCC1 ,PGM=SCCPMSGS,RC= 0
@@ PMDIDABC:STEP#= 11 ,STEP=CKUNMAT ,PGM=IDCAMS ,RC= 4

Case 2

Sel Jobname Read Date Time Xcode
==> * * * *
PMDIXYZ 12/03/2009 04:56 0040

In JESMSGLG, this is what i am seeing
@@ PMDIXYZ:STEP#= 7 ,STEP=NATURAL ,PGM=NAT23XX ,RC= 40
@@ PMDIXYZ:STEP#= 8 ,STEP=MSGSCC1 ,PGM=SCCPMSGS,RC= 0
@@ PMDIXYZ:STEP#= 11 ,STEP=CKUNMAT ,PGM=IDCAMS ,RC= 0

In Natural program , error is set to '40' in 2 cases. I am not able to understand why the exceptional code is 4 in first case and 20 in second case ?

Natural program used is same in both the cases. Has this got anything to do with MVS level ?
Can someone throw light in to this- i can provide more details if you want.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Dec 08, 2009 2:57 pm
Reply with quote

I believe it has nothing to do with Natural. Check all the steps in your job.

O.
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
No new posts RXSUBCOM Return Codes / Documentation CLIST & REXX 6
Search our Forums:

Back to Top