TSPT gate, PUT_REPLACE function

If the queue does not exist, this function creates the queue with the item provided. If the queue does exist, the first item in the queue is replaced by the item provided.

Input Parameters

ITEM_DATA
is the address and length of the item being written.
QUEUE_NAME
is the name of the queue being created or appended to.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • INVALID_LENGTH
  • INVALID_QUEUE_NAME
  • INVALID_QUEUE_TYPE
  • IO_ERROR
  • LOCKED
  • QUEUE_DELETED
  • QUEUE_REMOTE
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


dfhs3_TSPTput_replace.html | Timestamp icon Last updated: Monday, 5 June 2017