MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sqlcode -924

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
avin
Beginner


Joined: 31 Aug 2006
Posts: 2
Topics: 1

PostPosted: Mon Feb 05, 2007 8:54 am    Post subject: Sqlcode -924 Reply with quote

Hi,

I have a COBOL program that calls the stored procedure. When I try to run the program, SQLCODE=-924 and SQLSTATE=58006 is generated.

ERROR: DB2 CONNECTION INTERNAL ERROR

Please can some one help me to solve this error.

Thanks in advance,
Avin
_________________
avin
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Mon Feb 05, 2007 10:53 pm    Post subject: Reply with quote

avin,

what is the reason code associated with the abend?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
avin
Beginner


Joined: 31 Aug 2006
Posts: 2
Topics: 1

PostPosted: Tue Feb 06, 2007 3:40 am    Post subject: Reply with quote

Kolusu,

The reason code is 00F30016

Avin
_________________
avin
Back to top
View user's profile Send private message Send e-mail
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Feb 06, 2007 4:28 am    Post subject: Reply with quote

reason code is 00F30016 refers to the validity of the plan name. Documentation suggests blank or spaces for plan name. This occurred during the ATTACH, not your call to the SP. You need to insure that however you are performing your connect to DB2, you have the correct plan name.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Feb 06, 2007 6:21 am    Post subject: Reply with quote

dbzTHEdinosauer wrote:
reason code is 00F30016 refers to the validity of the plan name. Documentation suggests blank or spaces for plan name. This occurred during the ATTACH, not your call to the SP. You need to insure that however you are performing your connect to DB2, you have the correct plan name.


SHOULD HAVE BEEN:
Documentation suggests that the user 'has provided a name plan consisting of spaces or blanks'.

The ATTACH to DB2 was made but the plan name provided was not that of the PLAN name of the SQL invoked.

Possibly the SP has not been properly assembled/bound - etc....

The plan name you gave, if it was not spaces, was either incorrectly entered in your parameters to the ATTACH or the SP has not been properly registered with DB2.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group