Posted: Wed Feb 15, 2006 10:09 am Post subject: Thread locked
Apprentice
Joined: 26 Jan 2006 Posts: 32
I have a particular queue in which records are read paralle by multiple threads and updated into IMS database.
The threads are getting locked at DBCTL after proceeding till a particular point.
My online program is able to take till 12 threads. If i go beyond that all the threads are getting struck at DBCTL.
The program does an ISRT, GU, REPL on an IMS database.
When i see the status of these threads in Main View i get the following details:
1st thread: is done with following calls:
Database DD Tran Total GU GN GHU GHN GNP GHNP REPL ISRT DLET
Name Name Name DL/I ---- ---- ---- ---- ---- ---- ---- ---- ----
XXXXXXXX------- 17 7 9 1
There are 12 threads that got struck but Main view is showing only 5 threads.
1 active and 4 waiting. the 1 active is described as above the 4 waiting threads have the following status.
Database DD Tran Total GU GN GHU GHN GNP GHNP REPL ISRT DLET
Name Name Name DL/I ---- ---- ---- ---- ---- ---- ---- ---- ----
XXXXXXX -------- 1 1
what does this mean the waiting threads have done one GU call and are waiting or something else.
All the threads are working on duplicate records. What could be the problem. Are these creating some dead lock. in such a case they should have returned FD but have not. they are all struck in DBCTL. _________________ Regards,
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