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

DBCTL return code is 12!


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Mon May 31, 2010 1:07 pm
Reply with quote

Hi,

I was trying to establish a connection between CICS and IMS, using the transaction CDBC.

But it was failing with the following message

DFHDB8222 Connection has failed. DBCTL return code is 12.

I have searched a lot to diagnose the return code, but could not get through, can anybody help me in trying to understand the return code

Thanks,
Chanti
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon May 31, 2010 6:07 pm
Reply with quote

Explanation: DBCTL rejects a request from CICS to connect to it.
System Action: The connection does not proceed.
User Response: See the IMS Messages and Codes manual for an explanation of the DBCTL return code.
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Mon May 31, 2010 6:46 pm
Reply with quote

Hi,

Thanks, for the response.

I could really understand what does DBCTL Return code 12 means??

User Response: See the IMS Messages and Codes manual for an explanation of the DBCTL return code.

I was referring all the manuals to understand what DBCTL return code 12 means, but couldnt break through.

It will be really helpful if you could provide some insight into it

Thanks,
Chanti.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon May 31, 2010 6:51 pm
Reply with quote

chanti wrote:
I was referring all the manuals to understand what DBCTL return code 12 means, but couldnt break through.
Since I don't have the manual, what does the IMS Messages and Codes manual provide for an explanation of the DBCTL return code?
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Tue Jun 01, 2010 9:58 am
Reply with quote

Hi

Any of the manuals, didnt speak about the Return code 12 of the DBCTL.

I am searching for them, but couldn't successful

Thanks,
Chanti.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Jun 01, 2010 10:43 am
Reply with quote

it could be a DRA return code :

INIT request
12
Dynamic allocation of DRA RESLIB failed.

For more info for IMS return codes see :

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.imsmsgs.doc.msgs/common/mc.html
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Tue Jun 01, 2010 10:58 am
Reply with quote

Hi peter,

Thanks, for your response

Our IMS reslib using the default 00(Suffix), supplied DFSPZP00. The library containing this Linkedited module is a part of CICS steplib concatenation.

So, still we are unsure why its failing to allocate dynamically

Thanks,
Chanti.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Jun 01, 2010 11:47 am
Reply with quote

Chianti, i said it COULD be the reason.
maybe there are other return code 12. For that
you have to consult that manual. I did see a table
with more than 1 return code 12.
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Tue Jun 01, 2010 2:09 pm
Reply with quote

Yeah i understand peter, I referred to that cause as there were no other explanations given for that Return code 12!
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Wed Jun 02, 2010 10:01 am
Reply with quote

The problem got solved.

Actual problem was in the definition of DFSPZP00, i have defined a new DFSPZP01 with proper parameters as per manuals and it worked

Thanks,
Chanti
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 02, 2010 10:11 am
Reply with quote

That means it was a DRA problem?
Back to top
View user's profile Send private message
chanti

New User


Joined: 22 Nov 2008
Posts: 30
Location: hyderabad

PostPosted: Wed Jun 02, 2010 10:26 am
Reply with quote

Yes

Thanks,
Chanti
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 02, 2010 10:31 am
Reply with quote

You are welcome.
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 -> IMS DB/DC

 


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 Return codes-Normal & Abnormal te... JCL & VSAM 7
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
Search our Forums:

Back to Top