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 > Applicatin in "Pending result from remote datasource" state can't be forced

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-04, 01:47
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Applicatin in "Pending result from remote datasource" state can't be forced

Hi,

One per day some random application stays in "Pending result from remote datasource" state. I tried to force application from local database and force is not applied.

Is there any other way to force application beside "force application (app_id)" command?

My system: DB2 v8 FP6 on Linux S/390
Remote federated database system: DB2 for VSE v7.2

Thanks,
Grofaty

Last edited by grofaty; 11-24-04 at 02:40.
Reply With Quote
  #2 (permalink)  
Old 11-24-04, 02:08
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Did you check for in-doubt threads? There are commands for indentifying and resolving these.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 11-24-04, 02:39
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi Marcus_A,

I haven't chek in-doub threads because I have never heard about them.
What are this threads about and how to check it out? Can you please post some sample commands.

Thanks,
Grofaty
Reply With Quote
  #4 (permalink)  
Old 11-24-04, 02:51
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
remote pending

it means the local does not know what is going on on the remote db
logon to vse and on console or isql : show connect
check status of application and do a force on vse console if needed..
Best regards, Guy Przytula
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #5 (permalink)  
Old 11-24-04, 03:13
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi przytula,

I have already forced all remote applications on vse system. But applications connected to linux server stays in "Pending result from remote datasource" state. This applications can't be forced with "force application" command.

Any idea?

Thanks,
Grofaty

Last edited by grofaty; 11-24-04 at 03:49.
Reply With Quote
  #6 (permalink)  
Old 11-24-04, 03:53
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

"Application in pending state" locks local tables and a lot of lock-wait applications have appeard. So, I have tried to stop database server with command "db2stop force" but database server can't be stoped!!! So I needed to reboot Linux server.

This is temporaly solution, but I am afraid that this problem will reappear. Any idea how to solve problem without rebooting Linux system? This is production environment and it can't be rebooted at any time. I have pretty serious problem. Any idea how to solved it?

Thanks,
Grofaty

Last edited by grofaty; 11-24-04 at 03:56.
Reply With Quote
  #7 (permalink)  
Old 11-25-04, 08:25
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Today this "pending state" application has reappear.
I also try to execute the following command:
Code:
list indoubt transactions
But the result was:
Code:
SQL1251W  No data returned for heuristic query.  SQLSTATE=00000
The only solution I have is reboot Linux. This is production environment and this metod is not disared.

Does anyone has some idea how to force "pending" state application from local database?

Thanks,
Grofaty
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