If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 error -991, can't figure out why?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-10, 12:08
Balr14 Balr14 is offline
Registered User
 
Join Date: Sep 2002
Location: Wisconsin
Posts: 37
DB2 error -991, can't figure out why?

SQLCODE --> -991
SQLERRML --> 0014
SQLERRMC --> 000800F30049
Explanation:
A request was received to connect the requester's TCB to a DB2 subsystem, but the TCB is already connected.

My problem is the program doesn't have any DB2 connect logic, so how can it be driven more than once?
Reply With Quote
  #2 (permalink)  
Old 12-10-10, 15:02
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
Are you executing the stored procedure that runs on WLM address space? If so make sure the stored procedure program is compiled correctly with call attachment facility such as DSNRLI during link edit.
Reply With Quote
  #3 (permalink)  
Old 12-10-10, 15:52
Balr14 Balr14 is offline
Registered User
 
Join Date: Sep 2002
Location: Wisconsin
Posts: 37
That was a good tip! Execution program doesn't seem to fit link edit requirements.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On