On 2018-08-28 16:18, Tom Marchant wrote:
On Fri, 24 Aug 2018 11:25:57 -0400, Matt Hogstrom wrote:

The question about serialization is up to the consumer of the
REST interface.  For instance, if editing a dataset the caller
can request that the ENQ on the dataset be held to keep
others from editing the file.
This still doesn't answer the question. Does Zowe obtain the
ENQ, or is it up to the user whether the ENQ is acquired?

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.

    EXCL
        a SYSDSN/Exclusive ENQ will be held on the data set
    SHRW
a SYSDSN/SHR ENQ will be held on the data set, and a SPFEDIT/EXCL ENQ will be held on the data set, including the member name if this is a request for a PDS member.

A successful response will include an X-IBM-Session-Ref response header that can be added as a request header to subsequent requests to specify affinity to the TSO address space holding this ENQ.

In other words, "plays well with the other children, iff requested to do so."

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to