Posted: Mon Feb 20, 2006 11:00 am Post subject: Multiple threads locked
Apprentice
Joined: 26 Jan 2006 Posts: 32
Hi all,
I came across a situation, which i couldn't understand.
I have a program which processes records in a certain queue. The program reads the records from the MQ and updates them into an IMS database. The calls made by this program are first a GU, then GHU and then a REPL. It is possible that multiple threads of this program run parallel.
Scenerio: The queue is loaded with 2000 reords. All the records are duplicates. I start triggerring paralled threads.
Processing: Till i triggerred 10 threads it was running well. When the 11th thread was initiated all the threads got struck in the DBCTL call and these threads were not dying.
I did not understand this situation. To my understanding the following thing could have happenned:
The first thread was making a repl while the 2nd, 3rd etc.. threads were making a GU call and they all got locked. but then when the 1st thread was able to release lock when 10 threads were running why was it not able to release when 11 theads are running.
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