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

Condition Code 2024


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rss0213

New User


Joined: 20 Jan 2010
Posts: 26
Location: Alabama

PostPosted: Fri May 11, 2012 10:36 pm
Reply with quote

Hi. We have a program that is completing successfully, but is returning a Condition Code 2024. We can't find anything in the books or on Google about this error code. Any idea what could be generating this?

One thing that might be helpful: this is a COBOL program that does an EXCI call to a CICS program. The call is executed successfully and returns the value we need, but the program still completes with CC 2024. I've attached the job output in case that's helpful.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri May 11, 2012 10:41 pm
Reply with quote

please do not attach - I, for one, will not or cannot read it.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 11, 2012 10:57 pm
Reply with quote

The attached output is useless since it appears to be line wrapped with extra spaces compressed.

A condition code 2024 is NOT something you will be able to find on the Internet. The condition code 2024 means that YOUR COBOL PROGRAM SET A RETURN CODE OF 2024. Whether it did this because of the EXCI command failing, or for some other reason, there's no way we can tell. The only certain thing at this point is that someone AT YOUR SITE must look at the source code FOR YOUR PROGRAM to determine why the 2024 occurred.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 11, 2012 11:37 pm
Reply with quote

After some further investigation, I uncovered a Control-M warning message in your job:
Code:
 11.22.54 CTR001I CONTROL-M/RESTART, REL 6.3.09 STARTED FOR JOB JAXACCTT
 11.22.54 CTR008I PROCESSING PARAMETERS: R2,,,BL,.$FIRST,,DDD,00
 11.22.54 CTR024W MISSING "NONCAT2 CONTROL MEMBER" NAME PARAMETER
 11.22.54 CTR026W MISSING "ORDERID" PARAMETER
 11.22.55 CTR235I NONCAT2 REQUEST FROM PROCSTEP WIRACCTD PGMSTEP WIRACCT1 TO PROCSTEP PGMSTEP
so it appears likely that you have a Control-M problem with your job. Contact your site support group if you don't know how to fix it, since they can help you with the specifics at your site of how Control-M is set up and how to resolve these messages.
Back to top
View user's profile Send private message
rss0213

New User


Joined: 20 Jan 2010
Posts: 26
Location: Alabama

PostPosted: Sat May 12, 2012 12:44 am
Reply with quote

Thanks for looking Robert. The Control-M re-start step actually completed successfully. The CC 2024 is not set anywhere in our code. We thought it might be getting set somewhere in the EXCI call, but then we found a blurb on the web about DFHXCIS (EXCI module, or one of its subroutines) not clearing some registers, which can cause random condition codes to be set. So we added code to set the RC to zero if the call completes successfully. Hopefully this issue is resolved now.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top