DHDH gate, DELETE_DATA function
The DELETE_DATA function of the DHDH gate is used to delete the data between 2 bookmarks in an existing document.
Input Parameters
- DOCUMENT_TOKEN
- is the token which identifies the document into which the data will be inserted.
- FROM_BOOKMARK
- is the name of a bookmark which identifies the start of the data which is to be replaced.
- FROM_POSITION
- identifies the beginning or end of the document as the start of the data which is to be replaced in the document.
- TO_BOOKMARK
- is the name of a bookmark which identifies the end of the data which is to be replaced.
- TO_POSITION
- identifies the beginning or end of the document as the end of the data which is to be replaced in the document.
Output Parameters
- REASON
- The values for the parameter are:
- DOCUMENT_NOT_FOUND
- FROM_BOOKMARK_NOT_FOUND
- INVALID_BOOKMARK_SEQUENCE
- TO_BOOKMARK_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- RETRIEVE_SIZE
- is the maximum size in bytes that a retrieved copy of the document can be.