Response
The
<startTransactionResp>
response
returns the result of starting a database transaction. If the response error
code indicates success, then the database transaction was successfully started.
If any failure response is returned, then the database transaction was not
started.
Response Format
lengthInBytes
<startTransactionResp [id="id"]>
[
originalXMLRequest
]
<res error="error" affected="affected" [description="description"]/>
</startTransactionResp>
Response Parameters
The parameters for all of the response commands are shown in XML Response Messages.
Error Codes
Table 5-5
shows the common error codes for the <
startTransactionResponse
>. See
SDS Response Message Error Codes
for a full list of error codes.
Table 5-5 <startTransactionResp>
Error Codes (XML)
Error Code | Description |
---|---|
SUCCESS | Transaction was successfully started. |
NO_WRITE_PERMISSION | The client making the connection does not have write access permissions. |
WRITE_UNAVAILABLE | Another client already has a transaction open. This will only be returned to clients who do have write access permissions. |
ACTIVE_TXN | A transaction is already open on this connection. |