Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    37

    Unanswered: 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?

  2. #2
    Join Date
    Apr 2005
    Location
    USA
    Posts
    130
    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.

  3. #3
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    37
    That was a good tip! Execution program doesn't seem to fit link edit requirements.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •