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
 

 

Condition Code 2024

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Condition Code 2024
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: 1787
Location: UK

PostPosted: Fri May 11, 2012 10:41 pm    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Fri May 11, 2012 10:57 pm    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Fri May 11, 2012 11:37 pm    Post subject:
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    Post subject: Resolved.
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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