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 All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Filter records where condition is in ... SYNCSORT 6
No new posts Using JOINKEYS - Exclude accounts whi... SYNCSORT 10
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Write record twice based on condition... SYNCSORT 7
No new posts SFTP Return Codes TSO/ISPF 2
Search our Forums:


Back to Top