Question
Obj-Open-By-Handle on a common class by two activities
Dear,
I am explaining the scenario based on my question.
There are two activities which use a common class say A-B-C.
Activity1 uses object open by handle on a data page called Page1 of A-B-C. This activity is triggered by an Agent1 which runs every 5 secs.
Acitivity2 also uses object open by handle on a data page called Page2 of A-B-C. This activity is triggered by an Agent2 which runs every 60 secs.
Both object open by handle use lock and ROC (release on commit) features.
Though the data pages are named differently in both activities, will this cause a problem in activity2 if activity1 already is having a lock on pzinskey.
I have a similar issue causing heap space and server crash. Investigating this and needs your precious inputs.
thanks,
Jagan
Only one requestor would be able to have a lock on the work object at a time. If Agent1 has the lock, then an error will occur when Agent2 attempts to obtain a lock.