(j3.2006) LOCK/UNLOCK question
Malcolm Cohen
malcolm
Wed Jun 17 04:05:15 EDT 2009
Hi folks,
At the top of 09-007r1 page 190, the paragraph immediately before "8.5.2
Segments" says
"During an execution of a statement that invokes more than one
procedure, at most one invocation shall cause execution of an image
control statement other than CRITICAL or END CRITICAL."
I am puzzled as to why this doesn't allow LOCK/UNLOCK, since these are
data-object equivalents to CRITICAL/END-CRITICAL. Yes this is only
"good" if the LOCK/UNLOCK are either correctly "paired" within each
procedure or if they operate on disjoint locks, but I would have thought
that one of the canonical lock usages is indeed the "paired" paradigm
and that this would be precisely the sort of thing people would like to do.
An oversight? Deliberate?
(Also, "During an execution" should be just "During execution".)
Cheers,
--
............................Malcolm Cohen, Nihon NAG, Tokyo.
More information about the J3
mailing list