I was working on some code that involved repeated:
ISGENQ OBTAIN
do something
ISGENQ RELEASE
With these options:
ISGENQ
REQUEST=OBTAIN,
COND=YES,
QNAME=QN,RNAME=RN,RNAMELEN=52,
CONTROL=EXCLUSIVE,
SCOPE=SYSTEMS,
RETCODE=RC,RSNCODE=RSN,
ENQTOKEN=MYTOK
ISGENQ
REQUEST=RELEASE,
COND=YES,
RETCODE=RC,RSNCODE=RSN,
ENQTOKEN=MYTOK
I notice that Obtains takes about 14ms and Releases about 12ms, so 100
iterations is almost 3 seconds.
I guess that makes sense with SCOPE=SYSTEMS, but I'm doing this on a system
that isn't on a sysplex (but it is running second level at IBM RDP).
Any thoughts appreciated.
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN