On 29/08/2018 6:41 AM, Gord Tomlin wrote:
It would appear that the answer to your question is here:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.izua700/IZUHPINFO_API_PutWriteDataSet.htm
Under "Custom headers":
X-IBM-Obtain-ENQ
This header is optional; set it to one of the following values to
request that a system ENQ be obtained and held after the completion of
this request. If not specified, then no ENQs will be held after the
completion of this request.
Of course you need to obtain the ENQ when you do the read to start the
edit session, it looks like the equivalent header exists on GET so
that's OK.
I wonder how long the ENQ persists if I start editing then close my
browser, or if I just take a long time to complete the edit? If I close
my browser and try again to edit I suspect I will be locked out for a
period of time...
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN